aboutsummaryrefslogtreecommitdiffstats
path: root/net/mac80211/tkip.h
diff options
context:
space:
mode:
authorLorenzo Bianconi <lorenzo.bianconi83@gmail.com>2016-02-19 12:18:01 +0100
committerJohannes Berg <johannes.berg@intel.com>2016-02-24 09:04:38 +0100
commit109843b07aed8663a3c1fe9ef02c540b6ff203b4 (patch)
tree64337640a1304b2cb5ec96981498e7df41aa05d8 /net/mac80211/tkip.h
parentcfg80211: reuse existing page fragments in A-MSDU rx (diff)
downloadlinux-dev-109843b07aed8663a3c1fe9ef02c540b6ff203b4.tar.xz
linux-dev-109843b07aed8663a3c1fe9ef02c540b6ff203b4.zip
mac80211: fix wiphy supported_band access
Fix wiphy supported_band access in tx radiotap parsing introduced in commit 5ec3aed9ba4c ("mac80211: Parse legacy and HT rate in injected frames"). In particular, info->band is always set to 0 (IEEE80211_BAND_2GHZ) since it has not assigned yet. This cause a kernel crash on 5GHz only devices. Move ieee80211_parse_tx_radiotap() after info->band assignment Signed-off-by: Lorenzo Bianconi <lorenzo.bianconi83@gmail.com> Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/mac80211/tkip.h')
0 files changed, 0 insertions, 0 deletions