diff options
author | Luis R. Rodriguez <lrodriguez@atheros.com> | 2009-10-06 20:44:31 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2009-10-07 16:39:50 -0400 |
commit | be5d6b75e0fb3f7e23ea5325109ef4195f2b282a (patch) | |
tree | 0b28a1cd730d82f4006670507138fd599af14018 /drivers/net/wireless/ath/ath5k/base.c | |
parent | 91b9eb8261acfe473c369750036df24ad071e5c1 (diff) |
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/base.c')
-rw-r--r-- | drivers/net/wireless/ath/ath5k/base.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/ath/ath5k/base.c b/drivers/net/wireless/ath/ath5k/base.c index 5aaa9bd036db..01da83d75ef4 100644 --- a/drivers/net/wireless/ath/ath5k/base.c +++ b/drivers/net/wireless/ath/ath5k/base.c | |||
@@ -3213,7 +3213,7 @@ static void ath5k_bss_info_changed(struct ieee80211_hw *hw, | |||
3213 | memcpy(common->curbssid, bss_conf->bssid, ETH_ALEN); | 3213 | memcpy(common->curbssid, bss_conf->bssid, ETH_ALEN); |
3214 | /* XXX: assoc id is set to 0 for now, mac80211 doesn't have | 3214 | /* XXX: assoc id is set to 0 for now, mac80211 doesn't have |
3215 | * a clean way of letting us retrieve this yet. */ | 3215 | * a clean way of letting us retrieve this yet. */ |
3216 | ath5k_hw_set_associd(ah, common->curbssid, 0); | 3216 | ath5k_hw_set_associd(ah); |
3217 | mmiowb(); | 3217 | mmiowb(); |
3218 | } | 3218 | } |
3219 | 3219 | ||