diff options
author | Ivo van Doorn <ivdoorn@gmail.com> | 2008-02-03 09:51:13 -0500 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2008-02-29 15:19:38 -0500 |
commit | f5507ce90be4e00a84b5bb4c7b4324455aa6ee21 (patch) | |
tree | 5a68598ccffb2c0226994237a46edd81909699f5 /drivers/net/wireless/rt2x00/rt2x00.h | |
parent | 70e2fed4ec14df84ed72554d573794714b15a078 (diff) |
rt2x00: Remove HWMODE_{A,B,G}
rt2500usb initialized the SIFS and EIFS without using the
values coming from rt2x000lib. After this is fixed HWMODE_{A,B,G}
is now unused and can be removed in favour of the ieee80211_band
enumeration which could still be usefull later.
Signed-off-by: Ivo van Doorn <IvDoorn@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/rt2x00/rt2x00.h')
-rw-r--r-- | drivers/net/wireless/rt2x00/rt2x00.h | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/drivers/net/wireless/rt2x00/rt2x00.h b/drivers/net/wireless/rt2x00/rt2x00.h index 4fa762bdb734..93dbe2b286d5 100644 --- a/drivers/net/wireless/rt2x00/rt2x00.h +++ b/drivers/net/wireless/rt2x00/rt2x00.h | |||
@@ -390,10 +390,6 @@ 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 | |||
397 | /* | 393 | /* |
398 | * Details about the supported modes, rates and channels | 394 | * Details about the supported modes, rates and channels |
399 | * of a particular chipset. This is used by rt2x00lib | 395 | * of a particular chipset. This is used by rt2x00lib |
@@ -433,7 +429,7 @@ struct rt2x00lib_conf { | |||
433 | 429 | ||
434 | struct antenna_setup ant; | 430 | struct antenna_setup ant; |
435 | 431 | ||
436 | int phymode; | 432 | enum ieee80211_band band; |
437 | 433 | ||
438 | int basic_rates; | 434 | int basic_rates; |
439 | int slot_time; | 435 | int slot_time; |