nl80211: look for HT/VHT capabilities in beacon's tail
authorIgor Mitsyanko <igor.mitsyanko.os@quantenna.com>
Wed, 30 Aug 2017 20:52:25 +0000 (13:52 -0700)
committerJohannes Berg <johannes.berg@intel.com>
Tue, 5 Sep 2017 14:25:08 +0000 (16:25 +0200)
commitba83bfb1e86501d21077b570e10e443f1605be64
treee98468abee58754a6fbe15d99e9ade82ca0c8eb1
parent6e46d8ce894374fc135c96a8d1057c6af1fef237
nl80211: look for HT/VHT capabilities in beacon's tail

There are no HT/VHT capabilities in cfg80211_ap_settings::beacon_ies,
these should be looked for in beacon's tail instead.

Fixes: 66cd794e3c30 ("nl80211: add HT/VHT capabilities to AP parameters")
Signed-off-by: Igor Mitsyanko <igor.mitsyanko.os@quantenna.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/wireless/nl80211.c