Skip to contentSkip to conversation

ar9170: remove unnecessary call to ar9170_set_beacon_timers

PATCH In review Joerg Albert 2 participants 2 messages Aug 21, 2009

lore
Share & tools
lore
#0 lore raw

PATCH v2 2/2 ar9170: remove unnecessary call to ar9170_set_beacon_timers

---
 drivers/net/wireless/ath/ar9170/main.c |    6 ------
 1 files changed, 0 insertions(+), 6 deletions(-)
drivers/net/wireless/ath/ar9170/main.c +0 -6
index 911e502..5b73194 100644
@@ -2031,12 +2031,6 @@ static int ar9170_op_config(struct ieee80211_hw *hw, u32 changed)
 			goto out;
 	}
 
-	if (changed & BSS_CHANGED_BEACON_INT) {
-		err = ar9170_set_beacon_timers(ar);
-		if (err)
-			goto out;
-	}
-
 	if (changed & IEEE80211_CONF_CHANGE_CHANNEL) {
 
 		/* adjust slot time for 5 GHz */
Signature · 1 line
1.6.0.4
Acked-by on v2 2/2
#1 lore raw
Quoted 2 lines · On Friday 21 August 2009 22:53:37 Joerg Albert wrote:
Quoted 22 lines
---
 drivers/net/wireless/ath/ar9170/main.c |    6 ------
 1 files changed, 0 insertions(+), 6 deletions(-)
drivers/net/wireless/ath/ar9170/main.c +0 -6
index 911e502..5b73194 100644
@@ -2031,12 +2031,6 @@ static int ar9170_op_config(struct ieee80211_hw *hw, u32 changed)
 			goto out;
 	}
 
-	if (changed & BSS_CHANGED_BEACON_INT) {
-		err = ar9170_set_beacon_timers(ar);
-		if (err)
-			goto out;
-	}
-
 	if (changed & IEEE80211_CONF_CHANGE_CHANNEL) {
 
 		/* adjust slot time for 5 GHz */