iwlegacy: get rid of ctx->station_flags
authorStanislaw Gruszka <sgruszka@redhat.com>
Fri, 3 Feb 2012 16:31:49 +0000 (17:31 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 6 Feb 2012 19:56:04 +0000 (14:56 -0500)
Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/iwlegacy/common.c
drivers/net/wireless/iwlegacy/common.h

index 7c7ea778d219d923b09a8e9a8bb570d2baf94807..ac269856be14f260efd0065ca65f5c0b414abe28 100644 (file)
@@ -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;
index 811e768637cb0a4d2690de7b2955e18c8b1849a7..a872175f164c0bd8542f5edfdac133ff850420f3 100644 (file)
@@ -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;