ath9k: Revamp wireless mode usage
Use a single enum for managing modes, store supported modes by the HW in a bitmask. Register legacy rates with mac80211 only at init. Signed-off-by: Sujith Manoharan <Sujith.Manoharan@atheros.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
This commit is contained in:
@@ -108,7 +108,7 @@ static void ath_beacon_setup(struct ath_softc *sc,
|
||||
* Calculate rate code.
|
||||
* XXX everything at min xmit rate
|
||||
*/
|
||||
rix = sc->sc_minrateix;
|
||||
rix = 0;
|
||||
rt = sc->sc_currates;
|
||||
rate = rt->info[rix].rateCode;
|
||||
if (sc->sc_flags & ATH_PREAMBLE_SHORT)
|
||||
|
Reference in New Issue
Block a user