diff mbox

[2/2,v2] ar9170: remove unnecessary call to ar9170_set_beacon_timers

Message ID 4A8F0951.50108@gmx.de (mailing list archive)
State Not Applicable, archived
Headers show

Commit Message

Joerg Albert Aug. 21, 2009, 8:53 p.m. UTC
Signed-off-by: Joerg Albert <jal2@gmx.de>

---
 drivers/net/wireless/ath/ar9170/main.c |    6 ------
 1 files changed, 0 insertions(+), 6 deletions(-)

Comments

Christian Lamparter Aug. 21, 2009, 9:24 p.m. UTC | #1
On Friday 21 August 2009 22:53:37 Joerg Albert wrote:
> 
> Signed-off-by: Joerg Albert <jal2@gmx.de>
Acked-by: Christian Lamparter <chunkeey@web.de>

> ---
>  drivers/net/wireless/ath/ar9170/main.c |    6 ------
>  1 files changed, 0 insertions(+), 6 deletions(-)
> 
> diff --git a/drivers/net/wireless/ath/ar9170/main.c b/drivers/net/wireless/ath/ar9170/main.c
> index 911e502..5b73194 100644
> --- a/drivers/net/wireless/ath/ar9170/main.c
> +++ b/drivers/net/wireless/ath/ar9170/main.c
> @@ -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 */
> 
--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

diff --git a/drivers/net/wireless/ath/ar9170/main.c b/drivers/net/wireless/ath/ar9170/main.c
index 911e502..5b73194 100644
--- a/drivers/net/wireless/ath/ar9170/main.c
+++ b/drivers/net/wireless/ath/ar9170/main.c
@@ -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 */