diff options
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/net/wireless/rt2x00/rt2x00mac.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/rt2x00/rt2x00mac.c b/drivers/net/wireless/rt2x00/rt2x00mac.c index fa91ca5cd0e2..dded68071007 100644 --- a/drivers/net/wireless/rt2x00/rt2x00mac.c +++ b/drivers/net/wireless/rt2x00/rt2x00mac.c | |||
@@ -634,7 +634,7 @@ void rt2x00mac_bss_info_changed(struct ieee80211_hw *hw, | |||
634 | * When the erp information has changed, we should perform | 634 | * When the erp information has changed, we should perform |
635 | * additional configuration steps. For all other changes we are done. | 635 | * additional configuration steps. For all other changes we are done. |
636 | */ | 636 | */ |
637 | if (changes & (BSS_CHANGED_ERP_PREAMBLE | BSS_CHANGED_ERP_CTS_PROT)) { | 637 | if (changes & ~(BSS_CHANGED_ASSOC | BSS_CHANGED_HT)) { |
638 | if (!test_bit(DRIVER_REQUIRE_SCHEDULED, &rt2x00dev->flags)) | 638 | if (!test_bit(DRIVER_REQUIRE_SCHEDULED, &rt2x00dev->flags)) |
639 | rt2x00lib_config_erp(rt2x00dev, intf, bss_conf); | 639 | rt2x00lib_config_erp(rt2x00dev, intf, bss_conf); |
640 | else | 640 | else |