OSDN Git Service

cfg80211: fix station info handling bugs
authorJohannes Berg <johannes.berg@intel.com>
Tue, 16 Jan 2018 22:20:22 +0000 (23:20 +0100)
committerDavid S. Miller <davem@davemloft.net>
Thu, 18 Jan 2018 20:36:18 +0000 (15:36 -0500)
commit5762d7d3eda25c03cc2d9d45227be3f5ab6bec9e
treed918d7343c604f3c93e8c8bcad4ceed05562c7c2
parentcd443f1e91ca600a092e780e8250cd6a2954b763
cfg80211: fix station info handling bugs

Fix two places where the structure isn't initialized to zero,
and thus can't be filled properly by the driver.

Fixes: 4a4b8169501b ("cfg80211: Accept multiple RSSI thresholds for CQM")
Fixes: 9930380f0bd8 ("cfg80211: implement IWRATE")
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/wireless/nl80211.c
net/wireless/wext-compat.c