aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ath
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/wireless/ath')
-rw-r--r--drivers/net/wireless/ath/ar9170/ar9170.h1
-rw-r--r--drivers/net/wireless/ath/ar9170/main.c7
2 files changed, 0 insertions, 8 deletions
diff --git a/drivers/net/wireless/ath/ar9170/ar9170.h b/drivers/net/wireless/ath/ar9170/ar9170.h
index 4c4b08fc0f7d..c7cba66b63cb 100644
--- a/drivers/net/wireless/ath/ar9170/ar9170.h
+++ b/drivers/net/wireless/ath/ar9170/ar9170.h
@@ -102,7 +102,6 @@ enum ar9170_device_state {
102 AR9170_STOPPED, 102 AR9170_STOPPED,
103 AR9170_IDLE, 103 AR9170_IDLE,
104 AR9170_STARTED, 104 AR9170_STARTED,
105 AR9170_ASSOCIATED,
106}; 105};
107 106
108struct ar9170_rxstream_mpdu_merge { 107struct ar9170_rxstream_mpdu_merge {
diff --git a/drivers/net/wireless/ath/ar9170/main.c b/drivers/net/wireless/ath/ar9170/main.c
index b889fda10b9a..b104d7efd676 100644
--- a/drivers/net/wireless/ath/ar9170/main.c
+++ b/drivers/net/wireless/ath/ar9170/main.c
@@ -1303,11 +1303,6 @@ static int ar9170_op_config(struct ieee80211_hw *hw, u32 changed)
1303 1303
1304 mutex_lock(&ar->mutex); 1304 mutex_lock(&ar->mutex);
1305 1305
1306 if (changed & IEEE80211_CONF_CHANGE_RADIO_ENABLED) {
1307 /* TODO */
1308 err = 0;
1309 }
1310
1311 if (changed & IEEE80211_CONF_CHANGE_LISTEN_INTERVAL) { 1306 if (changed & IEEE80211_CONF_CHANGE_LISTEN_INTERVAL) {
1312 /* TODO */ 1307 /* TODO */
1313 err = 0; 1308 err = 0;
@@ -1490,8 +1485,6 @@ static void ar9170_op_bss_info_changed(struct ieee80211_hw *hw,
1490 } 1485 }
1491 1486
1492 if (changed & BSS_CHANGED_ASSOC) { 1487 if (changed & BSS_CHANGED_ASSOC) {
1493 ar->state = bss_conf->assoc ? AR9170_ASSOCIATED : ar->state;
1494
1495#ifndef CONFIG_AR9170_LEDS 1488#ifndef CONFIG_AR9170_LEDS
1496 /* enable assoc LED. */ 1489 /* enable assoc LED. */
1497 err = ar9170_set_leds_state(ar, bss_conf->assoc ? 2 : 0); 1490 err = ar9170_set_leds_state(ar, bss_conf->assoc ? 2 : 0);