diff options
author | Christian Lamparter <chunkeey@web.de> | 2009-04-17 09:14:22 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2009-04-22 16:57:15 -0400 |
commit | fade5db4f227bf59874efd6023f39d345e17e2a4 (patch) | |
tree | f98206b6323524944f17036d7339340978afc49a /drivers/net/wireless/p54 | |
parent | 85efc86eb7c6cbb1c8ce8d99b10b948be033fbb9 (diff) |
p54: deactivate broken powersave function (part 2)
This patch deactivates powersave in station mode.
It does not work correctly yet, so the code does more harm than good.
(I split the original patch and sent part of it for 2.6.30, which didn't
have the IEEE80211_HW_BEACON_FILTER flag. -- JWL)
Reported-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: Christian Lamparter <chunkeey@web.de>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/p54')
-rw-r--r-- | drivers/net/wireless/p54/p54common.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/net/wireless/p54/p54common.c b/drivers/net/wireless/p54/p54common.c index bc1bd72392a..5368aa33dab 100644 --- a/drivers/net/wireless/p54/p54common.c +++ b/drivers/net/wireless/p54/p54common.c | |||
@@ -2642,8 +2642,7 @@ struct ieee80211_hw *p54_init_common(size_t priv_data_len) | |||
2642 | skb_queue_head_init(&priv->tx_queue); | 2642 | skb_queue_head_init(&priv->tx_queue); |
2643 | dev->flags = IEEE80211_HW_RX_INCLUDES_FCS | | 2643 | dev->flags = IEEE80211_HW_RX_INCLUDES_FCS | |
2644 | IEEE80211_HW_SIGNAL_DBM | | 2644 | IEEE80211_HW_SIGNAL_DBM | |
2645 | IEEE80211_HW_NOISE_DBM | | 2645 | IEEE80211_HW_NOISE_DBM; |
2646 | IEEE80211_HW_BEACON_FILTER; | ||
2647 | 2646 | ||
2648 | dev->wiphy->interface_modes = BIT(NL80211_IFTYPE_STATION) | | 2647 | dev->wiphy->interface_modes = BIT(NL80211_IFTYPE_STATION) | |
2649 | BIT(NL80211_IFTYPE_ADHOC) | | 2648 | BIT(NL80211_IFTYPE_ADHOC) | |