diff options
author | Ivo van Doorn <ivdoorn@gmail.com> | 2008-03-09 17:46:18 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2008-03-13 16:02:36 -0400 |
commit | 728103794316f7ff8d98bc2ce044aff7a260ee21 (patch) | |
tree | 2addb2b483f2a74e30314c486abeb7ab86521ecb /drivers/net/wireless/rt2x00/rt2x00lib.h | |
parent | e4030a2f40a9575bccc71c3e156ca78c7d6fded6 (diff) |
rt2x00: Rename config_preamble() to config_erp()
Rename config_preamble() to config_erp() and cleanup argument
list by putting it all into a single structure.
This will make the function more meaningful and easier to
expand later. This second option is mostly intended to make
the patch "mac80211: proper short-slot handling" from Johannes Berg
easier to apply for rt2x00.
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/rt2x00lib.h')
-rw-r--r-- | drivers/net/wireless/rt2x00/rt2x00lib.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/net/wireless/rt2x00/rt2x00lib.h b/drivers/net/wireless/rt2x00/rt2x00lib.h index 34ccb3de687e..6bd5a01ddfce 100644 --- a/drivers/net/wireless/rt2x00/rt2x00lib.h +++ b/drivers/net/wireless/rt2x00/rt2x00lib.h | |||
@@ -100,9 +100,9 @@ void rt2x00lib_config_intf(struct rt2x00_dev *rt2x00dev, | |||
100 | struct rt2x00_intf *intf, | 100 | struct rt2x00_intf *intf, |
101 | enum ieee80211_if_types type, | 101 | enum ieee80211_if_types type, |
102 | u8 *mac, u8 *bssid); | 102 | u8 *mac, u8 *bssid); |
103 | void rt2x00lib_config_preamble(struct rt2x00_dev *rt2x00dev, | 103 | void rt2x00lib_config_erp(struct rt2x00_dev *rt2x00dev, |
104 | struct rt2x00_intf *intf, | 104 | struct rt2x00_intf *intf, |
105 | const unsigned int short_preamble); | 105 | struct ieee80211_bss_conf *conf); |
106 | void rt2x00lib_config_antenna(struct rt2x00_dev *rt2x00dev, | 106 | void rt2x00lib_config_antenna(struct rt2x00_dev *rt2x00dev, |
107 | enum antenna rx, enum antenna tx); | 107 | enum antenna rx, enum antenna tx); |
108 | void rt2x00lib_config(struct rt2x00_dev *rt2x00dev, | 108 | void rt2x00lib_config(struct rt2x00_dev *rt2x00dev, |