diff options
Diffstat (limited to 'drivers/net')
-rw-r--r-- | drivers/net/wireless/b43legacy/b43legacy.h | 2 | ||||
-rw-r--r-- | drivers/net/wireless/b43legacy/main.c | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/drivers/net/wireless/b43legacy/b43legacy.h b/drivers/net/wireless/b43legacy/b43legacy.h index fe2af06f5599..d906f6eb2020 100644 --- a/drivers/net/wireless/b43legacy/b43legacy.h +++ b/drivers/net/wireless/b43legacy/b43legacy.h | |||
@@ -599,6 +599,8 @@ struct b43legacy_wl { | |||
599 | /* List of all wireless devices on this chip */ | 599 | /* List of all wireless devices on this chip */ |
600 | struct list_head devlist; | 600 | struct list_head devlist; |
601 | u8 nr_devs; | 601 | u8 nr_devs; |
602 | |||
603 | bool radiotap_enabled; | ||
602 | }; | 604 | }; |
603 | 605 | ||
604 | /* Pointers to the firmware data and meta information about it. */ | 606 | /* Pointers to the firmware data and meta information about it. */ |
diff --git a/drivers/net/wireless/b43legacy/main.c b/drivers/net/wireless/b43legacy/main.c index 1a8b67619077..92c03b0336a4 100644 --- a/drivers/net/wireless/b43legacy/main.c +++ b/drivers/net/wireless/b43legacy/main.c | |||
@@ -2553,6 +2553,8 @@ static int b43legacy_op_dev_config(struct ieee80211_hw *hw, | |||
2553 | b43legacy_short_slot_timing_disable(dev); | 2553 | b43legacy_short_slot_timing_disable(dev); |
2554 | } | 2554 | } |
2555 | 2555 | ||
2556 | dev->wl->radiotap_enabled = !!(conf->flags & IEEE80211_CONF_RADIOTAP); | ||
2557 | |||
2556 | /* Adjust the desired TX power level. */ | 2558 | /* Adjust the desired TX power level. */ |
2557 | if (conf->power_level != 0) { | 2559 | if (conf->power_level != 0) { |
2558 | if (conf->power_level != phy->power_level) { | 2560 | if (conf->power_level != phy->power_level) { |