diff options
Diffstat (limited to 'drivers/net/wireless/b43legacy/main.c')
-rw-r--r-- | drivers/net/wireless/b43legacy/main.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/net/wireless/b43legacy/main.c b/drivers/net/wireless/b43legacy/main.c index ee202b4f77b..276f314688f 100644 --- a/drivers/net/wireless/b43legacy/main.c +++ b/drivers/net/wireless/b43legacy/main.c | |||
@@ -2721,11 +2721,6 @@ static int b43legacy_op_dev_config(struct ieee80211_hw *hw, | |||
2721 | /* Antennas for RX and management frame TX. */ | 2721 | /* Antennas for RX and management frame TX. */ |
2722 | b43legacy_mgmtframe_txantenna(dev, antenna_tx); | 2722 | b43legacy_mgmtframe_txantenna(dev, antenna_tx); |
2723 | 2723 | ||
2724 | /* Update templates for AP mode. */ | ||
2725 | if (b43legacy_is_mode(wl, NL80211_IFTYPE_AP)) | ||
2726 | b43legacy_set_beacon_int(dev, conf->beacon_int); | ||
2727 | |||
2728 | |||
2729 | if (!!conf->radio_enabled != phy->radio_on) { | 2724 | if (!!conf->radio_enabled != phy->radio_on) { |
2730 | if (conf->radio_enabled) { | 2725 | if (conf->radio_enabled) { |
2731 | b43legacy_radio_turn_on(dev); | 2726 | b43legacy_radio_turn_on(dev); |
@@ -2827,6 +2822,11 @@ static void b43legacy_op_bss_info_changed(struct ieee80211_hw *hw, | |||
2827 | 2822 | ||
2828 | b43legacy_mac_suspend(dev); | 2823 | b43legacy_mac_suspend(dev); |
2829 | 2824 | ||
2825 | if (changed & BSS_CHANGED_BEACON_INT && | ||
2826 | (b43legacy_is_mode(wl, NL80211_IFTYPE_AP) || | ||
2827 | b43legacy_is_mode(wl, NL80211_IFTYPE_ADHOC))) | ||
2828 | b43legacy_set_beacon_int(dev, conf->beacon_int); | ||
2829 | |||
2830 | if (changed & BSS_CHANGED_BASIC_RATES) | 2830 | if (changed & BSS_CHANGED_BASIC_RATES) |
2831 | b43legacy_update_basic_rates(dev, conf->basic_rates); | 2831 | b43legacy_update_basic_rates(dev, conf->basic_rates); |
2832 | 2832 | ||