diff options
Diffstat (limited to 'drivers/net')
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-dev.h | 2 | ||||
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-sta.c | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-dev.h b/drivers/net/wireless/iwlwifi/iwl-dev.h index ef7862b5e91c..2f9d1daff554 100644 --- a/drivers/net/wireless/iwlwifi/iwl-dev.h +++ b/drivers/net/wireless/iwlwifi/iwl-dev.h | |||
@@ -1137,6 +1137,8 @@ struct iwl_rxon_context { | |||
1137 | 1137 | ||
1138 | struct iwl_wep_key wep_keys[WEP_KEYS_MAX]; | 1138 | struct iwl_wep_key wep_keys[WEP_KEYS_MAX]; |
1139 | u8 key_mapping_keys; | 1139 | u8 key_mapping_keys; |
1140 | |||
1141 | __le32 station_flags; | ||
1140 | }; | 1142 | }; |
1141 | 1143 | ||
1142 | struct iwl_priv { | 1144 | struct iwl_priv { |
diff --git a/drivers/net/wireless/iwlwifi/iwl-sta.c b/drivers/net/wireless/iwlwifi/iwl-sta.c index ac6e2be35284..e6bb81b1514c 100644 --- a/drivers/net/wireless/iwlwifi/iwl-sta.c +++ b/drivers/net/wireless/iwlwifi/iwl-sta.c | |||
@@ -289,7 +289,7 @@ static u8 iwl_prep_station(struct iwl_priv *priv, struct iwl_rxon_context *ctx, | |||
289 | memcpy(station->sta.sta.addr, addr, ETH_ALEN); | 289 | memcpy(station->sta.sta.addr, addr, ETH_ALEN); |
290 | station->sta.mode = 0; | 290 | station->sta.mode = 0; |
291 | station->sta.sta.sta_id = sta_id; | 291 | station->sta.sta.sta_id = sta_id; |
292 | station->sta.station_flags = 0; | 292 | station->sta.station_flags = ctx->station_flags; |
293 | station->ctxid = ctx->ctxid; | 293 | station->ctxid = ctx->ctxid; |
294 | 294 | ||
295 | /* | 295 | /* |