aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/b43legacy
diff options
context:
space:
mode:
authorJohannes Berg <johannes@sipsolutions.net>2009-10-28 10:03:35 +0100
committerJohn W. Linville <linville@tuxdriver.com>2009-10-30 16:49:20 -0400
commit0869aea0eb711982cd2b8bebf41b3c0191c89cde (patch)
treea20075f5e675be3d50720ac528db52de5cb2fd56 /drivers/net/wireless/b43legacy
parent6a86b9c78ebd0397eb953493c68ea9e194e7023c (diff)
downloadkernel_samsung_smdk4412-0869aea0eb711982cd2b8bebf41b3c0191c89cde.zip
kernel_samsung_smdk4412-0869aea0eb711982cd2b8bebf41b3c0191c89cde.tar.gz
kernel_samsung_smdk4412-0869aea0eb711982cd2b8bebf41b3c0191c89cde.tar.bz2
mac80211: remove RX_FLAG_RADIOTAP
While there may be a case for a driver adding its own bits of radiotap information, none currently does. Also, drivers would have to copy the code to generate the radiotap bits that now mac80211 generates. If some driver in the future needs to add some driver-specific information I'd expect that to be in a radiotap vendor namespace and we can add a different way of passing such data up and having mac80211 include it. Additionally, rename IEEE80211_CONF_RADIOTAP to IEEE80211_CONF_MONITOR since it's still used by b43(legacy) to obtain per-frame timestamps. The purpose of this patch is to simplify the RX code in mac80211 to make it easier to add paged skb support. Signed-off-by: Johannes Berg <johannes@sipsolutions.net> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/b43legacy')
-rw-r--r--drivers/net/wireless/b43legacy/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/b43legacy/main.c b/drivers/net/wireless/b43legacy/main.c
index 0983406..d579bb9 100644
--- a/drivers/net/wireless/b43legacy/main.c
+++ b/drivers/net/wireless/b43legacy/main.c
@@ -2676,7 +2676,7 @@ static int b43legacy_op_dev_config(struct ieee80211_hw *hw,
if (conf->channel->hw_value != phy->channel)
b43legacy_radio_selectchannel(dev, conf->channel->hw_value, 0);
- dev->wl->radiotap_enabled = !!(conf->flags & IEEE80211_CONF_RADIOTAP);
+ dev->wl->radiotap_enabled = !!(conf->flags & IEEE80211_CONF_MONITOR);
/* Adjust the desired TX power level. */
if (conf->power_level != 0) {