diff options
author | Jussi Kivilinna | 2011-06-20 14:42:28 +0300 |
---|---|---|
committer | John W. Linville | 2011-06-22 16:09:45 -0400 |
commit | 7a1d6564a15183cb5994656040966df09af8390f (patch) | |
tree | d9637c519b66007d6b98249c3477051fa4bba870 /drivers/net/wireless/zd1211rw/zd_usb.c | |
parent | 670dc2833d144375eac36ad74111495a825a9288 (diff) |
zd1211rw: fix invalid signal values from device
Driver uses IEEE80211_HW_SIGNAL_UNSPEC and so signal values reported to
mac80211 should be in range 0..100. Sometimes device return out of range
values. These out of range values can then trigger warning in
cfg80211_inform_bss_frame.
This patch adds checks to enforce range returned from driver to
mac80211 be in 0..100 range.
Signed-off-by: Jussi Kivilinna <jussi.kivilinna@mbnet.fi>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/zd1211rw/zd_usb.c')
0 files changed, 0 insertions, 0 deletions