summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLuis R. Rodriguez2009-10-07 02:44:28 +0200
committerJohn W. Linville2009-10-07 22:39:49 +0200
commiteb053a037d8951018bdc9133c8d312da9cd0aefb (patch)
tree3e9465f2d87fea9525e0cf5f46a71c0a56d85197
parentwireless: fix CFG80211_WEXT build problems (diff)
downloadkernel-qcow2-linux-eb053a037d8951018bdc9133c8d312da9cd0aefb.tar.gz
kernel-qcow2-linux-eb053a037d8951018bdc9133c8d312da9cd0aefb.tar.xz
kernel-qcow2-linux-eb053a037d8951018bdc9133c8d312da9cd0aefb.zip
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>
-rw-r--r--drivers/net/wireless/ath/ath5k/pcu.c2
1 files changed, 1 insertions, 1 deletions
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);
}