]> git.baikalelectronics.ru Git - kernel.git/commit
nl80211: fix channel switch parsing
authorAndrei Otcheretianski <andrei.otcheretianski@intel.com>
Thu, 17 Oct 2013 08:52:17 +0000 (10:52 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Mon, 28 Oct 2013 14:13:04 +0000 (15:13 +0100)
commitabfa7600b0ea5798ac8f088f2d01b3f35640a27a
tree92ccaa881a4479a17bfb1f55ab92b1f1b6a4d4b5
parent6d53d8390d0f27c9322bad2876abdfc301a0dddc
nl80211: fix channel switch parsing

The nl80211 attribute NL80211_ATTR_CSA_C_OFF_BEACON should be nested
inside NL80211_ATTR_CSA_IES, but commit f59b5065555b8d32d0f6b72676a8
("nl80211: enable IBSS support for channel switch announcements")
added a check in the outer message attributes.

Fix channel switch calls by removing the erroneus condition.

Signed-off-by: Andrei Otcheretianski <andrei.otcheretianski@intel.com>
[reword commit message]
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/wireless/nl80211.c