Skip to content

Commit

Permalink
ath5k: use ath_hw_setbssidmask() for bssid mask setting upon assoc
Browse files Browse the repository at this point in the history
This should avoid future typos.

Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
  • Loading branch information
Luis R. Rodriguez authored and John W. Linville committed Oct 7, 2009
1 parent eb053a0 commit a72d57a
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions drivers/net/wireless/ath/ath5k/pcu.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
*/
if (ah->ah_version == AR5K_AR5212) {
ath5k_hw_reg_write(ah, get_unaligned_le32(common->bssidmask),
AR_BSSMSKL);
ath5k_hw_reg_write(ah,
get_unaligned_le16(common->bssidmask + 4),
AR_BSSMSKU);
}
if (ah->ah_version == AR5K_AR5212)
ath_hw_setbssidmask(common);

/*
* Set BSSID which triggers the "SME Join" operation
Expand Down

0 comments on commit a72d57a

Please sign in to comment.