Skip to content

Commit

Permalink
iwlegacy: get rid of ctx->station_flags
Browse files Browse the repository at this point in the history
Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
  • Loading branch information
Stanislaw Gruszka authored and John W. Linville committed Feb 6, 2012
1 parent d735f92 commit fd6415b
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion drivers/net/wireless/iwlegacy/common.c
Original file line number Diff line number Diff line change
Expand Up @@ -1950,7 +1950,7 @@ il_prep_station(struct il_priv *il, struct il_rxon_context *ctx,
memcpy(station->sta.sta.addr, addr, ETH_ALEN);
station->sta.mode = 0;
station->sta.sta.sta_id = sta_id;
station->sta.station_flags = ctx->station_flags;
station->sta.station_flags = 0;

if (sta) {
struct il_station_priv_common *sta_priv;
Expand Down
2 changes: 0 additions & 2 deletions drivers/net/wireless/iwlegacy/common.h
Original file line number Diff line number Diff line change
Expand Up @@ -1169,8 +1169,6 @@ struct il_rxon_context {

struct il_qos_info qos_data;

__le32 station_flags;

struct {
bool non_gf_sta_present;
u8 protection;
Expand Down

0 comments on commit fd6415b

Please sign in to comment.