From: Luis R. Rodriguez Date: Wed, 7 Oct 2009 00:44:28 +0000 (-0400) Subject: ath5k: fix regression on setting bssid mask on association X-Git-Tag: MMI-PSA29.97-13-9~25754^2~865^2~18 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=eb053a037d8951018bdc9133c8d312da9cd0aefb;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git 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 Signed-off-by: John W. Linville --- diff --git a/drivers/net/wireless/ath/ath5k/pcu.c b/drivers/net/wireless/ath/ath5k/pcu.c index 9ac763875a98..0385e8022529 100644 --- a/drivers/net/wireless/ath/ath5k/pcu.c +++ b/drivers/net/wireless/ath/ath5k/pcu.c @@ -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); }