aboutsummaryrefslogtreecommitdiffstats
path: root/net/mac80211/ieee80211_sta.c
diff options
context:
space:
mode:
authorJohannes Berg <johannes@sipsolutions.net>2007-08-28 17:01:55 -0400
committerDavid S. Miller <davem@sunset.davemloft.net>2007-10-10 19:48:58 -0400
commitc9ee23dfac61a713de48b20999dcacb7ef3c5ed0 (patch)
tree26b0f858fd48be3ff1b0ed4e4f968d6fb4e0a68b /net/mac80211/ieee80211_sta.c
parent52aa944a182545a987dc753f9602235a3359df0c (diff)
[MAC80211]: make assoc_ap a flag
The sta_info.assoc_ap value is used as a flag, move it into flags. Signed-off-by: Johannes Berg <johannes@sipsolutions.net> Acked-by: Michael Wu <flamingice@sourmilk.net> Signed-off-by: John W. Linville <linville@tuxdriver.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/mac80211/ieee80211_sta.c')
-rw-r--r--net/mac80211/ieee80211_sta.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/net/mac80211/ieee80211_sta.c b/net/mac80211/ieee80211_sta.c
index f98b2e1cedf3..1b4ebe81191c 100644
--- a/net/mac80211/ieee80211_sta.c
+++ b/net/mac80211/ieee80211_sta.c
@@ -1279,8 +1279,7 @@ static void ieee80211_rx_mgmt_assoc_resp(struct net_device *dev,
1279 } 1279 }
1280 1280
1281 sta->dev = dev; 1281 sta->dev = dev;
1282 sta->flags |= WLAN_STA_AUTH | WLAN_STA_ASSOC; 1282 sta->flags |= WLAN_STA_AUTH | WLAN_STA_ASSOC | WLAN_STA_ASSOC_AP;
1283 sta->assoc_ap = 1;
1284 1283
1285 rates = 0; 1284 rates = 0;
1286 mode = local->oper_hw_mode; 1285 mode = local->oper_hw_mode;