diff options
author | Sujith <Sujith.Manoharan@atheros.com> | 2009-03-03 07:46:54 +0300 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2009-03-05 22:39:42 +0300 |
commit | 5379c8a26686e12058e23322615df68f9123bccd (patch) | |
tree | edc8240fc423027578f99ceec3dbcb4b2f6ca121 /drivers/net/wireless/ath9k/main.c | |
parent | 9546aae0863c12a3d00b1ed5cbd316520733200b (diff) | |
download | linux-5379c8a26686e12058e23322615df68f9123bccd.tar.xz |
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, /* Configure the beacon */ ath_beacon_config(sc, 0); - sc->sc_flags |= SC_OP_BEACONS; /* Reset rssi stats */ sc->nodestats.ns_avgbrssi = ATH_RSSI_DUMMY_MARKER; @@ -2365,7 +2364,7 @@ static int ath9k_config_interface(struct ieee80211_hw *hw, if (error != 0) return error; - ath_beacon_sync(sc, 0); + ath_beacon_config(sc, 0); } } |