diff options
author | Ivo van Doorn <ivdoorn@gmail.com> | 2009-05-23 15:09:28 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2009-06-03 14:05:10 -0400 |
commit | 6b347bff145f9a8a0972ca8fc3c44dd1f91b0f16 (patch) | |
tree | 6f00ab5f5163106829e1af09e3f00250ad3dd918 /drivers/net/wireless/rt2x00/rt2x00config.c | |
parent | e535c7566e1318ccfa015e297f0309994f7bc078 (diff) |
rt2x00: Remove last usage of beacon_int from ieee80211_config
This removes the last usage of beacon_int inside the iee80211_config
structure from rt2x00. The attempt is a bit hackish, and subject to
change in the future when the entire rt2x00_dev structure is
cleaned up and restructured.
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/rt2x00config.c')
-rw-r--r-- | drivers/net/wireless/rt2x00/rt2x00config.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/net/wireless/rt2x00/rt2x00config.c b/drivers/net/wireless/rt2x00/rt2x00config.c index c5bbf0b6e207..3e019a12df2e 100644 --- a/drivers/net/wireless/rt2x00/rt2x00config.c +++ b/drivers/net/wireless/rt2x00/rt2x00config.c | |||
@@ -108,6 +108,9 @@ void rt2x00lib_config_erp(struct rt2x00_dev *rt2x00dev, | |||
108 | erp.basic_rates = bss_conf->basic_rates; | 108 | erp.basic_rates = bss_conf->basic_rates; |
109 | erp.beacon_int = bss_conf->beacon_int; | 109 | erp.beacon_int = bss_conf->beacon_int; |
110 | 110 | ||
111 | /* Update global beacon interval time, this is needed for PS support */ | ||
112 | rt2x00dev->beacon_int = bss_conf->beacon_int; | ||
113 | |||
111 | rt2x00dev->ops->lib->config_erp(rt2x00dev, &erp); | 114 | rt2x00dev->ops->lib->config_erp(rt2x00dev, &erp); |
112 | } | 115 | } |
113 | 116 | ||