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>
This commit is contained in:

committed by
John W. Linville

parent
91b9eb8261
commit
be5d6b75e0
@@ -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);
|
||||
|
Reference in New Issue
Block a user