]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
mac80211: properly set CCK flag in radiotap
authorMathy Vanhoef <vanhoefm@gmail.com>
Tue, 20 Jan 2015 14:05:08 +0000 (15:05 +0100)
committerJiri Slaby <jslaby@suse.cz>
Sun, 8 Feb 2015 19:02:00 +0000 (20:02 +0100)
commit2c6dcd87815a2c582df99557fa5422038cd384c2
tree3ce0f26754da555fbea211e50ded744c07fbf42f
parentca2c498b6d896b730bcf5b9a87033703d506bbdd
mac80211: properly set CCK flag in radiotap

commit 3a5c5e81d8128a9e43abc52b75dd21d3da7a0cfc upstream.

Fix a regression introduced by commit a5e70697d0c4 ("mac80211: add radiotap flag
and handling for 5/10 MHz") where the IEEE80211_CHAN_CCK channel type flag was
incorrectly replaced by the IEEE80211_CHAN_OFDM flag. This commit fixes that by
using the CCK flag again.

Fixes: a5e70697d0c4 ("mac80211: add radiotap flag and handling for 5/10 MHz")
Signed-off-by: Mathy Vanhoef <vanhoefm@gmail.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
net/mac80211/rx.c