From bb03c545e8fec89bf3b1feae52095b2afd291e84 Mon Sep 17 00:00:00 2001 From: nbd Date: Sat, 4 Dec 2010 01:32:04 +0000 Subject: mac80211: update to wireless-testing 2010-11-30 git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24235 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- ...-per-device-struct-for-pm_qos_-operations.patch | 92 ---------------------- 1 file changed, 92 deletions(-) delete mode 100644 package/mac80211/patches/590-ath9k-use-per-device-struct-for-pm_qos_-operations.patch (limited to 'package/mac80211/patches/590-ath9k-use-per-device-struct-for-pm_qos_-operations.patch') diff --git a/package/mac80211/patches/590-ath9k-use-per-device-struct-for-pm_qos_-operations.patch b/package/mac80211/patches/590-ath9k-use-per-device-struct-for-pm_qos_-operations.patch deleted file mode 100644 index 0e02ce0c5..000000000 --- a/package/mac80211/patches/590-ath9k-use-per-device-struct-for-pm_qos_-operations.patch +++ /dev/null @@ -1,92 +0,0 @@ ---- a/drivers/net/wireless/ath/ath9k/ath9k.h -+++ b/drivers/net/wireless/ath/ath9k/ath9k.h -@@ -21,6 +21,7 @@ - #include - #include - #include -+#include - - #include "debug.h" - #include "common.h" -@@ -618,6 +619,8 @@ struct ath_softc { - struct ath_descdma txsdma; - - struct ath_ant_comb ant_comb; -+ -+ struct pm_qos_request_list pm_qos_req; - }; - - struct ath_wiphy { -@@ -647,7 +650,6 @@ static inline void ath_read_cachesize(st - } - - extern struct ieee80211_ops ath9k_ops; --extern struct pm_qos_request_list ath9k_pm_qos_req; - extern int modparam_nohwcrypt; - extern int led_blink; - ---- a/drivers/net/wireless/ath/ath9k/init.c -+++ b/drivers/net/wireless/ath/ath9k/init.c -@@ -15,7 +15,6 @@ - */ - - #include --#include - #include - - #include "ath9k.h" -@@ -195,8 +194,6 @@ static const struct ath_ops ath9k_common - .write = ath9k_iowrite32, - }; - --struct pm_qos_request_list ath9k_pm_qos_req; -- - /**************************/ - /* Initialization */ - /**************************/ -@@ -786,7 +783,7 @@ int ath9k_init_device(u16 devid, struct - ath_init_leds(sc); - ath_start_rfkill_poll(sc); - -- pm_qos_add_request(&ath9k_pm_qos_req, PM_QOS_CPU_DMA_LATENCY, -+ pm_qos_add_request(&sc->pm_qos_req, PM_QOS_CPU_DMA_LATENCY, - PM_QOS_DEFAULT_VALUE); - - return 0; -@@ -857,7 +854,7 @@ void ath9k_deinit_device(struct ath_soft - } - - ieee80211_unregister_hw(hw); -- pm_qos_remove_request(&ath9k_pm_qos_req); -+ pm_qos_remove_request(&sc->pm_qos_req); - ath_rx_cleanup(sc); - ath_tx_cleanup(sc); - ath9k_deinit_softc(sc); ---- a/drivers/net/wireless/ath/ath9k/main.c -+++ b/drivers/net/wireless/ath/ath9k/main.c -@@ -15,7 +15,6 @@ - */ - - #include --#include - #include "ath9k.h" - #include "btcoex.h" - -@@ -1184,7 +1183,7 @@ static int ath9k_start(struct ieee80211_ - ath9k_btcoex_timer_resume(sc); - } - -- pm_qos_update_request(&ath9k_pm_qos_req, 55); -+ pm_qos_update_request(&sc->pm_qos_req, 55); - - mutex_unlock: - mutex_unlock(&sc->mutex); -@@ -1336,7 +1335,7 @@ static void ath9k_stop(struct ieee80211_ - - sc->sc_flags |= SC_OP_INVALID; - -- pm_qos_update_request(&ath9k_pm_qos_req, PM_QOS_DEFAULT_VALUE); -+ pm_qos_update_request(&sc->pm_qos_req, PM_QOS_DEFAULT_VALUE); - - mutex_unlock(&sc->mutex); - -- cgit v1.2.3