Bluetooth: Add workaround for buggy max_page features page value
authorMarcel Holtmann <marcel@holtmann.org>
Fri, 18 Oct 2013 19:04:47 +0000 (12:04 -0700)
committerJohan Hedberg <johan.hedberg@intel.com>
Sat, 19 Oct 2013 13:22:52 +0000 (16:22 +0300)
commit57af75a8cfec8e3c338a8542e54fe26376ea14cf
treed43c42ee0a98a599205b2b2ba3fb0a1cf20428f6
parentdfb826a8b07f23ca31156979a7effec7b1f1daa8
Bluetooth: Add workaround for buggy max_page features page value

Some controllers list the max_page value from the extended features
response as 0 when SSP has not yet been enabled. To workaround this
issue, force the max_page value to 1 when SSP support has been
detected.

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