summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/p54/p54common.c
diff options
context:
space:
mode:
authorChristian Lamparter <chunkeey@web.de>2009-04-17 15:14:22 +0200
committerJohn W. Linville <linville@tuxdriver.com>2009-04-22 16:57:15 -0400
commitfade5db4f227bf59874efd6023f39d345e17e2a4 (patch)
treef98206b6323524944f17036d7339340978afc49a /drivers/net/wireless/p54/p54common.c
parent85efc86eb7c6cbb1c8ce8d99b10b948be033fbb9 (diff)
downloadop-kernel-dev-fade5db4f227bf59874efd6023f39d345e17e2a4.zip
op-kernel-dev-fade5db4f227bf59874efd6023f39d345e17e2a4.tar.gz
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/p54common.c')
-rw-r--r--drivers/net/wireless/p54/p54common.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/net/wireless/p54/p54common.c b/drivers/net/wireless/p54/p54common.c
index bc1bd72..5368aa3 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)
skb_queue_head_init(&priv->tx_queue);
dev->flags = IEEE80211_HW_RX_INCLUDES_FCS |
IEEE80211_HW_SIGNAL_DBM |
- IEEE80211_HW_NOISE_DBM |
- IEEE80211_HW_BEACON_FILTER;
+ IEEE80211_HW_NOISE_DBM;
dev->wiphy->interface_modes = BIT(NL80211_IFTYPE_STATION) |
BIT(NL80211_IFTYPE_ADHOC) |
OpenPOWER on IntegriCloud