diff options
author | Szymon Janc <szymon.janc@tieto.com> | 2014-10-13 11:43:54 +0200 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2014-10-25 07:56:24 +0200 |
commit | 15346a9c2875cae8e84c13196a2fc7428d9358d4 (patch) | |
tree | 8d0521bd915d2a658a3c5870a456ed64dbb2cc32 /net/tipc/net.c | |
parent | ec511545ef791577ed9dd055e3b2d6d926b85daf (diff) | |
download | linux-15346a9c2875cae8e84c13196a2fc7428d9358d4.tar.gz linux-15346a9c2875cae8e84c13196a2fc7428d9358d4.tar.bz2 linux-15346a9c2875cae8e84c13196a2fc7428d9358d4.zip |
Bluetooth: Improve RFCOMM __test_pf macro robustness
Value returned by this macro might be used as bit value so it should
return either 0 or 1 to avoid possible bugs (similar to NSC bug)
when shifting it.
Signed-off-by: Szymon Janc <szymon.janc@tieto.com>
Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
Diffstat (limited to 'net/tipc/net.c')
0 files changed, 0 insertions, 0 deletions