Skip to content

Commit

Permalink
ar9170: remove unnecessary call to ar9170_set_beacon_timers
Browse files Browse the repository at this point in the history
Signed-off-by: Joerg Albert <jal2@gmx.de>
Acked-by: Christian Lamparter <chunkeey@web.de>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
  • Loading branch information
Joerg Albert authored and John W. Linville committed Aug 28, 2009
1 parent ea39d1a commit 229a7ef
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions drivers/net/wireless/ath/ar9170/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down

0 comments on commit 229a7ef

Please sign in to comment.