mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-05 18:13:26 -04:00
ath5k: fix regression on setting bssid mask on association
There was a typo on the second bssid mask register. This was caused by the patch titled: "ath5k: use common curbssid, bssidmask and macaddr" Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
This commit is contained in:
committed by
John W. Linville
parent
c6d3597cd5
commit
eb053a037d
@@ -292,7 +292,7 @@ void ath5k_hw_set_associd(struct ath5k_hw *ah, const u8 *bssid, u16 assoc_id)
|
||||
ath5k_hw_reg_write(ah, get_unaligned_le32(common->bssidmask),
|
||||
AR_BSSMSKL);
|
||||
ath5k_hw_reg_write(ah,
|
||||
get_unaligned_le16(common->curbssid + 4),
|
||||
get_unaligned_le16(common->bssidmask + 4),
|
||||
AR_BSSMSKU);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user