]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: Fix clearing HCI_PSCAN flag
authorJohan Hedberg <johan.hedberg@intel.com>
Mon, 28 Jul 2014 12:45:31 +0000 (15:45 +0300)
committerMarcel Holtmann <marcel@holtmann.org>
Mon, 28 Jul 2014 14:50:52 +0000 (16:50 +0200)
commit2b6b63591d4c3b2ef1c2c32d7963aff5a485d141
treee66ef603a1857519672b47052110dea67c20caf3
parent0dc5440a19c1caffe1b95214adfa3c66971d3fad
Bluetooth: Fix clearing HCI_PSCAN flag

This patch fixes a typo in the hci_cc_write_scan_enable() function where
we want to clear the HCI_PSCAN flag if the SCAN_PAGE bit of the HCI
command parameter was not set.

Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
net/bluetooth/hci_event.c