diff options
author | Jiri Slaby <jirislaby@gmail.com> | 2007-08-28 17:01:54 -0400 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2007-10-10 19:48:50 -0400 |
commit | d6f2da5b33911a31eb61e1790ef8e555e9605837 (patch) | |
tree | 14dbd81d232b3d942fc093e24a7a70193f613f3e /net/mac80211/ieee80211_iface.c | |
parent | badffb725c86cc2d46f7cb3f520f58f1c863b56c (diff) |
[MAC80211]: Remove bitfields from struct ieee80211_if_sta
mac80211, remove bitfields from struct ieee80211_if_sta
Signed-off-by: Jiri Slaby <jirislaby@gmail.com>
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_iface.c')
-rw-r--r-- | net/mac80211/ieee80211_iface.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/net/mac80211/ieee80211_iface.c b/net/mac80211/ieee80211_iface.c index 6db67767801d..61009176d51b 100644 --- a/net/mac80211/ieee80211_iface.c +++ b/net/mac80211/ieee80211_iface.c | |||
@@ -187,10 +187,10 @@ void ieee80211_if_set_type(struct net_device *dev, int type) | |||
187 | ifsta->capab = WLAN_CAPABILITY_ESS; | 187 | ifsta->capab = WLAN_CAPABILITY_ESS; |
188 | ifsta->auth_algs = IEEE80211_AUTH_ALG_OPEN | | 188 | ifsta->auth_algs = IEEE80211_AUTH_ALG_OPEN | |
189 | IEEE80211_AUTH_ALG_SHARED_KEY; | 189 | IEEE80211_AUTH_ALG_SHARED_KEY; |
190 | ifsta->create_ibss = 1; | 190 | ifsta->flags |= IEEE80211_STA_CREATE_IBSS | |
191 | ifsta->wmm_enabled = 1; | 191 | IEEE80211_STA_WMM_ENABLED | |
192 | ifsta->auto_channel_sel = 1; | 192 | IEEE80211_STA_AUTO_BSSID_SEL | |
193 | ifsta->auto_bssid_sel = 1; | 193 | IEEE80211_STA_AUTO_CHANNEL_SEL; |
194 | 194 | ||
195 | msdata = IEEE80211_DEV_TO_SUB_IF(sdata->local->mdev); | 195 | msdata = IEEE80211_DEV_TO_SUB_IF(sdata->local->mdev); |
196 | sdata->bss = &msdata->u.ap; | 196 | sdata->bss = &msdata->u.ap; |