]> git.baikalelectronics.ru Git - kernel.git/commit
cfg80211: allow CFG80211_SIGNAL_TYPE_UNSPEC in station_info
authorJohn W. Linville <linville@tuxdriver.com>
Thu, 15 Mar 2012 17:25:41 +0000 (13:25 -0400)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 26 Mar 2012 19:07:25 +0000 (15:07 -0400)
commit03d8f86c8a6694cc4dff5136d91f3a6d157b902b
tree202d9da52387cd9ea0997d79c9e83bed15a9fab1
parent6e02ecd6558f985d9517ceec436f157a8a3d0a52
cfg80211: allow CFG80211_SIGNAL_TYPE_UNSPEC in station_info

The station_info struct had demanded dBm signal values, but the
cfg80211 wireless extensions implementation was also accepting
"unspecified" (i.e. RSSI) unit values while the nl80211 code was
completely unaware of them.  Resolve this by formally allowing the
"unspecified" units while making nl80211 ignore them.

Signed-off-by: John W. Linville <linville@tuxdriver.com>
Reviewed-by: Johannes Berg <johannes@sipsolutions.net>
include/net/cfg80211.h
net/wireless/nl80211.c