diff options
author | Sujith <Sujith.Manoharan@atheros.com> | 2009-03-02 23:46:54 -0500 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2009-03-05 14:39:42 -0500 |
commit | 5379c8a26686e12058e23322615df68f9123bccd (patch) | |
tree | edc8240fc423027578f99ceec3dbcb4b2f6ca121 /drivers/net/wireless/ath9k/main.c | |
parent | 9546aae0863c12a3d00b1ed5cbd316520733200b (diff) |
ath9k: Split beacon configuration into mode specific routines
This makes the code easier to understand.
Signed-off-by: Sujith <Sujith.Manoharan@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath9k/main.c')
-rw-r--r-- | drivers/net/wireless/ath9k/main.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/net/wireless/ath9k/main.c b/drivers/net/wireless/ath9k/main.c index 94297b6d69fb..9e8f954877c9 100644 --- a/drivers/net/wireless/ath9k/main.c +++ b/drivers/net/wireless/ath9k/main.c | |||
@@ -926,7 +926,6 @@ static void ath9k_bss_assoc_info(struct ath_softc *sc, | |||
926 | 926 | ||
927 | /* Configure the beacon */ | 927 | /* Configure the beacon */ |
928 | ath_beacon_config(sc, 0); | 928 | ath_beacon_config(sc, 0); |
929 | sc->sc_flags |= SC_OP_BEACONS; | ||
930 | 929 | ||
931 | /* Reset rssi stats */ | 930 | /* Reset rssi stats */ |
932 | sc->nodestats.ns_avgbrssi = ATH_RSSI_DUMMY_MARKER; | 931 | sc->nodestats.ns_avgbrssi = ATH_RSSI_DUMMY_MARKER; |
@@ -2365,7 +2364,7 @@ static int ath9k_config_interface(struct ieee80211_hw *hw, | |||
2365 | if (error != 0) | 2364 | if (error != 0) |
2366 | return error; | 2365 | return error; |
2367 | 2366 | ||
2368 | ath_beacon_sync(sc, 0); | 2367 | ath_beacon_config(sc, 0); |
2369 | } | 2368 | } |
2370 | } | 2369 | } |
2371 | 2370 | ||