summaryrefslogtreecommitdiff
path: root/drivers/net/wireless/b43/main.c
diff options
context:
space:
mode:
authorJohannes Berg <johannes@sipsolutions.net>2007-11-23 14:50:51 +0100
committerDavid S. Miller <davem@davemloft.net>2008-01-28 15:04:59 -0800
commitd42ce84a05d7a427df22894de268c1b4473f6004 (patch)
tree412a9ca7dcd91b3e43887f61e2105ebd25f5d83b /drivers/net/wireless/b43/main.c
parent0b3c07ff6467e6055ca3dd2239494ada96303274 (diff)
downloadlwn-d42ce84a05d7a427df22894de268c1b4473f6004.tar.gz
lwn-d42ce84a05d7a427df22894de268c1b4473f6004.zip
b43: include full 64-bit timestamp in monitor mode
When monitor mode is enabled, this will make b43 read out the full 64-bit MAC time from the chip for each received packet. Signed-off-by: Johannes Berg <johannes@sipsolutions.net> Signed-off-by: Michael Buesch <mb@bu3sch.de> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/b43/main.c')
-rw-r--r--drivers/net/wireless/b43/main.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/wireless/b43/main.c b/drivers/net/wireless/b43/main.c
index 16b413d11d19..58847222cf0b 100644
--- a/drivers/net/wireless/b43/main.c
+++ b/drivers/net/wireless/b43/main.c
@@ -2760,6 +2760,8 @@ static int b43_op_config(struct ieee80211_hw *hw, struct ieee80211_conf *conf)
b43_short_slot_timing_disable(dev);
}
+ dev->wl->radiotap_enabled = !!(conf->flags & IEEE80211_CONF_RADIOTAP);
+
/* Adjust the desired TX power level. */
if (conf->power_level != 0) {
if (conf->power_level != phy->power_level) {