aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/rt2x00/rt2x00mac.c
diff options
context:
space:
mode:
authorIvo van Doorn <ivdoorn@gmail.com>2008-07-09 09:12:06 -0400
committerJohn W. Linville <linville@tuxdriver.com>2008-07-14 14:52:56 -0400
commite360c4cb2bc2fb2a37981809685984efe8433c52 (patch)
treebd3a378a0f50d010e6fe13e587377485471f641e /drivers/net/wireless/rt2x00/rt2x00mac.c
parent9d139c810a2aa17365cc548d0cd2a189d8433c65 (diff)
rt2x00: Add support for CTS protection in rt2x00lib
Inform drivers about the changed CTS protection settings. Signed-off-by: Ivo van Doorn <IvDoorn@gmail.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/rt2x00/rt2x00mac.c')
-rw-r--r--drivers/net/wireless/rt2x00/rt2x00mac.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/rt2x00/rt2x00mac.c b/drivers/net/wireless/rt2x00/rt2x00mac.c
index 84b51f49175e..ff853c430bdf 100644
--- a/drivers/net/wireless/rt2x00/rt2x00mac.c
+++ b/drivers/net/wireless/rt2x00/rt2x00mac.c
@@ -511,7 +511,7 @@ void rt2x00mac_bss_info_changed(struct ieee80211_hw *hw,
511 * When the erp information has changed, we should perform 511 * When the erp information has changed, we should perform
512 * additional configuration steps. For all other changes we are done. 512 * additional configuration steps. For all other changes we are done.
513 */ 513 */
514 if (changes & BSS_CHANGED_ERP_PREAMBLE) { 514 if (changes & (BSS_CHANGED_ERP_PREAMBLE | BSS_CHANGED_ERP_CTS_PROT)) {
515 if (!test_bit(DRIVER_REQUIRE_SCHEDULED, &rt2x00dev->flags)) 515 if (!test_bit(DRIVER_REQUIRE_SCHEDULED, &rt2x00dev->flags))
516 rt2x00lib_config_erp(rt2x00dev, intf, bss_conf); 516 rt2x00lib_config_erp(rt2x00dev, intf, bss_conf);
517 else 517 else