summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ath/ath5k/attach.c
diff options
context:
space:
mode:
authorLuis R. Rodriguez2009-10-07 02:44:31 +0200
committerJohn W. Linville2009-10-07 22:39:50 +0200
commitbe5d6b75e0fb3f7e23ea5325109ef4195f2b282a (patch)
tree0b28a1cd730d82f4006670507138fd599af14018 /drivers/net/wireless/ath/ath5k/attach.c
parentath5k: fix regression introduced upon the removal of AR5K_HIGH_ID() (diff)
downloadkernel-qcow2-linux-be5d6b75e0fb3f7e23ea5325109ef4195f2b282a.tar.gz
kernel-qcow2-linux-be5d6b75e0fb3f7e23ea5325109ef4195f2b282a.tar.xz
kernel-qcow2-linux-be5d6b75e0fb3f7e23ea5325109ef4195f2b282a.zip
ath5k: simplify passed params to ath5k_hw_set_associd()
We have access to common->curbssid and common->curaid so just use those. Note that common->curaid is always 0 so this keeps our current behaviour of always using 0 for now. Once we fix storing the association ID passed by mac80211 this will require no changes here. Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath/ath5k/attach.c')
-rw-r--r--drivers/net/wireless/ath/ath5k/attach.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/ath/ath5k/attach.c b/drivers/net/wireless/ath/ath5k/attach.c
index e230de8ad320..92995adeb5cd 100644
--- a/drivers/net/wireless/ath/ath5k/attach.c
+++ b/drivers/net/wireless/ath/ath5k/attach.c
@@ -326,7 +326,7 @@ int ath5k_hw_attach(struct ath5k_softc *sc)
/* Set BSSID to bcast address: ff:ff:ff:ff:ff:ff for now */
memcpy(common->curbssid, ath_bcast_mac, ETH_ALEN);
- ath5k_hw_set_associd(ah, common->curbssid, 0);
+ ath5k_hw_set_associd(ah);
ath5k_hw_set_opmode(ah);
ath5k_hw_rfgain_opt_init(ah);