]> git.baikalelectronics.ru Git - kernel.git/commit
nl80211: validate number of probe response CSA counters
authorJohannes Berg <johannes.berg@intel.com>
Tue, 13 Sep 2016 13:53:55 +0000 (15:53 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Tue, 13 Sep 2016 18:19:27 +0000 (20:19 +0200)
commitd4c7179e2d3bae42b4a42355d14bb4fcec267297
treec082456e4de6f8d0e7a2b6d6a50f6aaaa76cc2de
parent0fd3a514b51010ae7b9645af0b6e7e8c3bcaedc2
nl80211: validate number of probe response CSA counters

Due to an apparent copy/paste bug, the number of counters for the
beacon configuration were checked twice, instead of checking the
number of probe response counters. Fix this to check the number of
probe response counters before parsing those.

Cc: stable@vger.kernel.org
Fixes: 07beb33a5851 ("cfg80211: Support multiple CSA counters")
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/wireless/nl80211.c