Johan Hedberg bbaf444a89 Bluetooth: Use proper invalid value for tx_power
The core specification defines 127 as the "not available" value (well,
"reserved" for BR/EDR and "not available" for LE - but essentially the
same). Therefore, instead of testing for 0 (which is in fact a valid
value) we should be using this invalid value to test if the tx_power is
available.

Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
Acked-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Gustavo Padovan <gustavo.padovan@collabora.co.uk>
2012-11-18 23:03:00 -02:00
..
2012-08-31 16:14:33 -04:00
2012-10-12 13:56:52 -04:00
2012-07-19 10:48:00 -07:00
2012-10-12 13:56:52 -04:00
2012-10-12 13:52:40 -04:00
2012-10-04 15:53:48 -04:00
2012-06-15 15:30:15 -07:00
2012-05-17 18:45:20 -04:00
2012-10-09 13:57:23 -04:00
2012-09-17 13:00:13 -04:00
2012-11-16 14:29:09 -05:00
2012-09-26 21:10:25 -04:00