ath5k: use ath_hw_setbssidmask() for bssid mask setting upon assoc
This should avoid future typos. Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
This commit is contained in:
parent
eb053a037d
commit
a72d57a862
1 changed files with 2 additions and 7 deletions
|
@ -288,13 +288,8 @@ void ath5k_hw_set_associd(struct ath5k_hw *ah, const u8 *bssid, u16 assoc_id)
|
||||||
/*
|
/*
|
||||||
* Set simple BSSID mask on 5212
|
* Set simple BSSID mask on 5212
|
||||||
*/
|
*/
|
||||||
if (ah->ah_version == AR5K_AR5212) {
|
if (ah->ah_version == AR5K_AR5212)
|
||||||
ath5k_hw_reg_write(ah, get_unaligned_le32(common->bssidmask),
|
ath_hw_setbssidmask(common);
|
||||||
AR_BSSMSKL);
|
|
||||||
ath5k_hw_reg_write(ah,
|
|
||||||
get_unaligned_le16(common->bssidmask + 4),
|
|
||||||
AR_BSSMSKU);
|
|
||||||
}
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Set BSSID which triggers the "SME Join" operation
|
* Set BSSID which triggers the "SME Join" operation
|
||||||
|
|
Loading…
Add table
Reference in a new issue