]> git.baikalelectronics.ru Git - kernel.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)
committerJohannes Berg <johannes.berg@intel.com>
Fri, 23 Jan 2015 09:53:58 +0000 (10:53 +0100)
commit220dd1ee3b49636a6f9bd43574460498e2e41ae3
tree44e571ca4e203e9a4bf1b57e37eb38ef13d19920
parentc1b9d8caa9d6411986422538ef11433a6910fb2e
mac80211: properly set CCK flag in radiotap

Fix a regression introduced by commit e5623404e4a8 ("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.

Cc: stable@vger.kernel.org
Fixes: e5623404e4a8 ("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>
net/mac80211/rx.c