diff options
Diffstat (limited to 'drivers/net/wireless/rt2x00/rt2x00config.c')
-rw-r--r-- | drivers/net/wireless/rt2x00/rt2x00config.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/net/wireless/rt2x00/rt2x00config.c b/drivers/net/wireless/rt2x00/rt2x00config.c index ca051f50ef1..4d5e87b015a 100644 --- a/drivers/net/wireless/rt2x00/rt2x00config.c +++ b/drivers/net/wireless/rt2x00/rt2x00config.c | |||
@@ -31,7 +31,7 @@ | |||
31 | 31 | ||
32 | void rt2x00lib_config_intf(struct rt2x00_dev *rt2x00dev, | 32 | void rt2x00lib_config_intf(struct rt2x00_dev *rt2x00dev, |
33 | struct rt2x00_intf *intf, | 33 | struct rt2x00_intf *intf, |
34 | enum ieee80211_if_types type, | 34 | enum nl80211_iftype type, |
35 | u8 *mac, u8 *bssid) | 35 | u8 *mac, u8 *bssid) |
36 | { | 36 | { |
37 | struct rt2x00intf_conf conf; | 37 | struct rt2x00intf_conf conf; |
@@ -40,11 +40,11 @@ void rt2x00lib_config_intf(struct rt2x00_dev *rt2x00dev, | |||
40 | conf.type = type; | 40 | conf.type = type; |
41 | 41 | ||
42 | switch (type) { | 42 | switch (type) { |
43 | case IEEE80211_IF_TYPE_IBSS: | 43 | case NL80211_IFTYPE_ADHOC: |
44 | case IEEE80211_IF_TYPE_AP: | 44 | case NL80211_IFTYPE_AP: |
45 | conf.sync = TSF_SYNC_BEACON; | 45 | conf.sync = TSF_SYNC_BEACON; |
46 | break; | 46 | break; |
47 | case IEEE80211_IF_TYPE_STA: | 47 | case NL80211_IFTYPE_STATION: |
48 | conf.sync = TSF_SYNC_INFRA; | 48 | conf.sync = TSF_SYNC_INFRA; |
49 | break; | 49 | break; |
50 | default: | 50 | default: |