summaryrefslogtreecommitdiff
path: root/drivers/net/wireless/ath/ath9k/htc_drv_beacon.c
diff options
context:
space:
mode:
authorOleksij Rempel <linux@rempel-privat.de>2014-03-01 21:15:47 +0100
committerJohn W. Linville <linville@tuxdriver.com>2014-03-17 13:13:05 -0400
commit88a4f56ef09d6f38beee79e9abff7cb7f867dc52 (patch)
tree2dee738fd90c54a650b5e429240a12c19e90e086 /drivers/net/wireless/ath/ath9k/htc_drv_beacon.c
parenta099874ed9db31e8ac0d8173394e54081d518635 (diff)
ath9k_htc: use ath_beacon_conf.enable_beacon
to reduce difference between ath9k and ath9k_htc Signed-off-by: Oleksij Rempel <linux@rempel-privat.de> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath/ath9k/htc_drv_beacon.c')
-rw-r--r--drivers/net/wireless/ath/ath9k/htc_drv_beacon.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/wireless/ath/ath9k/htc_drv_beacon.c b/drivers/net/wireless/ath/ath9k/htc_drv_beacon.c
index 09ad141b38b6..4540eacee093 100644
--- a/drivers/net/wireless/ath/ath9k/htc_drv_beacon.c
+++ b/drivers/net/wireless/ath/ath9k/htc_drv_beacon.c
@@ -199,7 +199,7 @@ static void ath9k_htc_beacon_config_ap(struct ath9k_htc_priv *priv,
} while (nexttbtt < tsftu);
}
- if (test_bit(OP_ENABLE_BEACON, &priv->op_flags))
+ if (bss_conf->enable_beacon)
imask |= ATH9K_INT_SWBA;
ath_dbg(common, CONFIG,
@@ -247,7 +247,7 @@ static void ath9k_htc_beacon_config_adhoc(struct ath9k_htc_priv *priv,
else
priv->ah->config.sw_beacon_response_time = MIN_SWBA_RESPONSE;
- if (test_bit(OP_ENABLE_BEACON, &priv->op_flags))
+ if (bss_conf->enable_beacon)
imask |= ATH9K_INT_SWBA;
ath_dbg(common, CONFIG,