diff options
author | Stanislaw Gruszka <sgruszka@redhat.com> | 2012-02-03 11:31:49 -0500 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2012-02-06 14:56:04 -0500 |
commit | fd6415bcfb303e37052c72a3f44b7f81089d7336 (patch) | |
tree | 95873c960fff771d6f3aa9438c6cc14416c42f64 | |
parent | d735f9213d11e34e6ed074acea30b6743b3385e6 (diff) |
iwlegacy: get rid of ctx->station_flags
Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
-rw-r--r-- | drivers/net/wireless/iwlegacy/common.c | 2 | ||||
-rw-r--r-- | drivers/net/wireless/iwlegacy/common.h | 2 |
2 files changed, 1 insertions, 3 deletions
diff --git a/drivers/net/wireless/iwlegacy/common.c b/drivers/net/wireless/iwlegacy/common.c index 7c7ea778d219..ac269856be14 100644 --- a/drivers/net/wireless/iwlegacy/common.c +++ b/drivers/net/wireless/iwlegacy/common.c | |||
@@ -1950,7 +1950,7 @@ il_prep_station(struct il_priv *il, struct il_rxon_context *ctx, | |||
1950 | memcpy(station->sta.sta.addr, addr, ETH_ALEN); | 1950 | memcpy(station->sta.sta.addr, addr, ETH_ALEN); |
1951 | station->sta.mode = 0; | 1951 | station->sta.mode = 0; |
1952 | station->sta.sta.sta_id = sta_id; | 1952 | station->sta.sta.sta_id = sta_id; |
1953 | station->sta.station_flags = ctx->station_flags; | 1953 | station->sta.station_flags = 0; |
1954 | 1954 | ||
1955 | if (sta) { | 1955 | if (sta) { |
1956 | struct il_station_priv_common *sta_priv; | 1956 | struct il_station_priv_common *sta_priv; |
diff --git a/drivers/net/wireless/iwlegacy/common.h b/drivers/net/wireless/iwlegacy/common.h index 811e768637cb..a872175f164c 100644 --- a/drivers/net/wireless/iwlegacy/common.h +++ b/drivers/net/wireless/iwlegacy/common.h | |||
@@ -1169,8 +1169,6 @@ struct il_rxon_context { | |||
1169 | 1169 | ||
1170 | struct il_qos_info qos_data; | 1170 | struct il_qos_info qos_data; |
1171 | 1171 | ||
1172 | __le32 station_flags; | ||
1173 | |||
1174 | struct { | 1172 | struct { |
1175 | bool non_gf_sta_present; | 1173 | bool non_gf_sta_present; |
1176 | u8 protection; | 1174 | u8 protection; |