diff options
Diffstat (limited to 'drivers/net/wireless/rt2x00/rt2x00.h')
-rw-r--r-- | drivers/net/wireless/rt2x00/rt2x00.h | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/drivers/net/wireless/rt2x00/rt2x00.h b/drivers/net/wireless/rt2x00/rt2x00.h index b0e4ea7c9dca..4fa762bdb734 100644 --- a/drivers/net/wireless/rt2x00/rt2x00.h +++ b/drivers/net/wireless/rt2x00/rt2x00.h | |||
@@ -390,6 +390,10 @@ static inline struct rt2x00_intf* vif_to_intf(struct ieee80211_vif *vif) | |||
390 | return (struct rt2x00_intf *)vif->drv_priv; | 390 | return (struct rt2x00_intf *)vif->drv_priv; |
391 | } | 391 | } |
392 | 392 | ||
393 | #define HWMODE_B 0 | ||
394 | #define HWMODE_G 1 | ||
395 | #define HWMODE_A 2 | ||
396 | |||
393 | /* | 397 | /* |
394 | * Details about the supported modes, rates and channels | 398 | * Details about the supported modes, rates and channels |
395 | * of a particular chipset. This is used by rt2x00lib | 399 | * of a particular chipset. This is used by rt2x00lib |
@@ -644,11 +648,8 @@ struct rt2x00_dev { | |||
644 | * IEEE80211 control structure. | 648 | * IEEE80211 control structure. |
645 | */ | 649 | */ |
646 | struct ieee80211_hw *hw; | 650 | struct ieee80211_hw *hw; |
647 | struct ieee80211_hw_mode *hwmodes; | 651 | struct ieee80211_supported_band bands[IEEE80211_NUM_BANDS]; |
648 | unsigned int curr_hwmode; | 652 | enum ieee80211_band curr_band; |
649 | #define HWMODE_B 0 | ||
650 | #define HWMODE_G 1 | ||
651 | #define HWMODE_A 2 | ||
652 | 653 | ||
653 | /* | 654 | /* |
654 | * rfkill structure for RF state switching support. | 655 | * rfkill structure for RF state switching support. |