commit | 42ce26de67e13c50885e7856ff91aaeedf07a81b | [log] [tgz] |
---|---|---|
author | Johan Hedberg <johan.hedberg@intel.com> | Fri Jul 04 12:37:20 2014 +0300 |
committer | Marcel Holtmann <marcel@holtmann.org> | Fri Jul 04 11:58:09 2014 +0200 |
tree | 2819f8901eea02a14cdcfc11874c5b4112683a20 | |
parent | a2f41a8f370a940629a0e42258ab9e941b1dbc83 [diff] |
Bluetooth: Don't bother doing anything if auto_connect doesn't change When hci_conn_params_set() is called if the new auto_connect value is the same as the old one we don't need to take any action. Simply return success from the function in this case. Signed-off-by: Johan Hedberg <johan.hedberg@intel.com> Signed-off-by: Marcel Holtmann <marcel@holtmann.org>