From: Johan Hedberg Date: Wed, 9 Jul 2014 10:28:26 +0000 (+0300) Subject: Bluetooth: Fix setting HCI_CONNECTABLE from ioctl code X-Git-Tag: omap-for-v3.17/fixes-against-rc2~149^2~73^2~87^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=91a668b0565dddc9f556f9bce65da58264c74623;p=pandora-kernel.git Bluetooth: Fix setting HCI_CONNECTABLE from ioctl code When the white list is in use the code would not update the HCI_CONNECTABLE flag if it gets changed through the ioctl code (e.g. hciconfig hci0 pscan). Since the flag is important for properly accepting incoming connections add code to fix it up if necessary and emit a New Settings mgmt event. Signed-off-by: Johan Hedberg Signed-off-by: Marcel Holtmann --- Reading git-diff-tree failed