diff options
author | Sujith <Sujith.Manoharan@atheros.com> | 2008-08-11 04:35:08 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2008-08-29 16:23:59 -0400 |
commit | 672840ac04f79f499b60b9f0eb41799c837db4eb (patch) | |
tree | abea21f851556acbf16d217f2849577399610654 /drivers/net/wireless/ath9k/beacon.c | |
parent | b4696c8b9233bea812b972a5e79c5db7ecf13867 (diff) |
ath9k: Use bitfields for sc operations
Signed-off-by: Sujith Manoharan <Sujith.Manoharan@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath9k/beacon.c')
-rw-r--r-- | drivers/net/wireless/ath9k/beacon.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/wireless/ath9k/beacon.c b/drivers/net/wireless/ath9k/beacon.c index 2736a4b4e4a1..f1c420141714 100644 --- a/drivers/net/wireless/ath9k/beacon.c +++ b/drivers/net/wireless/ath9k/beacon.c | |||
@@ -111,7 +111,7 @@ static void ath_beacon_setup(struct ath_softc *sc, | |||
111 | rix = 0; | 111 | rix = 0; |
112 | rt = sc->sc_currates; | 112 | rt = sc->sc_currates; |
113 | rate = rt->info[rix].rateCode; | 113 | rate = rt->info[rix].rateCode; |
114 | if (sc->sc_flags & ATH_PREAMBLE_SHORT) | 114 | if (sc->sc_flags & SC_OP_PREAMBLE_SHORT) |
115 | rate |= rt->info[rix].shortPreamble; | 115 | rate |= rt->info[rix].shortPreamble; |
116 | 116 | ||
117 | ath9k_hw_set11n_txdesc(ah, ds | 117 | ath9k_hw_set11n_txdesc(ah, ds |
@@ -975,5 +975,5 @@ void ath_beacon_sync(struct ath_softc *sc, int if_id) | |||
975 | * beacon frame we just received. | 975 | * beacon frame we just received. |
976 | */ | 976 | */ |
977 | ath_beacon_config(sc, if_id); | 977 | ath_beacon_config(sc, if_id); |
978 | sc->sc_beacons = 1; | 978 | sc->sc_flags |= SC_OP_BEACONS; |
979 | } | 979 | } |