summaryrefslogtreecommitdiff
path: root/drivers/net/wireless/iwlegacy/common.c
diff options
context:
space:
mode:
authorStanislaw Gruszka <sgruszka@redhat.com>2012-02-03 20:31:43 +0400
committerJohn W. Linville <linville@tuxdriver.com>2012-02-06 23:55:59 +0400
commit8f9e56455310a3d75e8239db9729acb2b31dbdad (patch)
tree26eef96072718fe8793f1034f22c75211ef6ca2a /drivers/net/wireless/iwlegacy/common.c
parentd98e294231a29699848fd0e923d91fe979e13802 (diff)
downloadlinux-8f9e56455310a3d75e8239db9729acb2b31dbdad.tar.xz
iwlegacy: get rid of ap_sta_id
Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/iwlegacy/common.c')
-rw-r--r--drivers/net/wireless/iwlegacy/common.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/iwlegacy/common.c b/drivers/net/wireless/iwlegacy/common.c
index b95f832b14ea..d30a2062992b 100644
--- a/drivers/net/wireless/iwlegacy/common.c
+++ b/drivers/net/wireless/iwlegacy/common.c
@@ -1899,7 +1899,7 @@ il_prep_station(struct il_priv *il, struct il_rxon_context *ctx,
u16 rate;
if (is_ap)
- sta_id = ctx->ap_sta_id;
+ sta_id = IL_AP_ID;
else if (is_broadcast_ether_addr(addr))
sta_id = ctx->bcast_sta_id;
else