From: Johan Hedberg Date: Fri, 4 Jul 2014 09:37:20 +0000 (+0300) Subject: Bluetooth: Don't bother doing anything if auto_connect doesn't change X-Git-Tag: omap-for-v3.17/fixes-against-rc2~149^2~73^2~87^2~71 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=42ce26de67e13c50885e7856ff91aaeedf07a81b;p=pandora-kernel.git 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 Signed-off-by: Marcel Holtmann --- Reading git-diff-tree failed