diff options
author | Stanislaw Gruszka <sgruszka@redhat.com> | 2012-02-03 11:31:44 -0500 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2012-02-06 14:56:00 -0500 |
commit | b16db50a6dc486c3a6c32cd7982a75452cb785c2 (patch) | |
tree | 3d64888f2a5a5d5538606c2cbcf165d628fba4e9 /drivers/net/wireless/iwlegacy/common.c | |
parent | 8f9e56455310a3d75e8239db9729acb2b31dbdad (diff) |
iwlegacy: move bcast_sta_id to hw_params
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.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/iwlegacy/common.c b/drivers/net/wireless/iwlegacy/common.c index d30a2062992b..b7567a8063be 100644 --- a/drivers/net/wireless/iwlegacy/common.c +++ b/drivers/net/wireless/iwlegacy/common.c | |||
@@ -1901,7 +1901,7 @@ il_prep_station(struct il_priv *il, struct il_rxon_context *ctx, | |||
1901 | if (is_ap) | 1901 | if (is_ap) |
1902 | sta_id = IL_AP_ID; | 1902 | sta_id = IL_AP_ID; |
1903 | else if (is_broadcast_ether_addr(addr)) | 1903 | else if (is_broadcast_ether_addr(addr)) |
1904 | sta_id = ctx->bcast_sta_id; | 1904 | sta_id = il->hw_params.bcast_id; |
1905 | else | 1905 | else |
1906 | for (i = IL_STA_ID; i < il->hw_params.max_stations; i++) { | 1906 | for (i = IL_STA_ID; i < il->hw_params.max_stations; i++) { |
1907 | if (!compare_ether_addr | 1907 | if (!compare_ether_addr |