]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitc69a07eff143168d41e51fd8456a408ece132acf
treed918d7343c604f3c93e8c8bcad4ceed05562c7c2
parent357e1b05fbb9edac5c7988c896174f1b39e5bf5e
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: f773229e40fc ("cfg80211: Accept multiple RSSI thresholds for CQM")
Fixes: bd2ab2d28674 ("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