aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ath/ath9k/main.c
diff options
context:
space:
mode:
authorMohammed Shafi Shajakhan <mshajakhan@atheros.com>2010-12-15 13:02:46 +0530
committerJohn W. Linville <linville@tuxdriver.com>2010-12-15 17:04:07 -0500
commit2b7e6bce41b6b944bd4302cf0914e2a6f4bc704b (patch)
treee14eff4e0dedf6cca411b8d783e6eec9d4dace6b /drivers/net/wireless/ath/ath9k/main.c
parent64c6e50c0732b793e4bd5fd2954b7bef088f83f8 (diff)
downloadkernel_samsung_tuna-2b7e6bce41b6b944bd4302cf0914e2a6f4bc704b.zip
kernel_samsung_tuna-2b7e6bce41b6b944bd4302cf0914e2a6f4bc704b.tar.gz
kernel_samsung_tuna-2b7e6bce41b6b944bd4302cf0914e2a6f4bc704b.tar.bz2
ath9k: Add comments for making pm-qos as modparam
PM-QOS value can be user specified via module parameter. This patch adds few comments regarding this in the driver code. Signed-off-by: Mohammed Shafi Shajakhan <mshajakhan@atheros.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath/ath9k/main.c')
-rw-r--r--drivers/net/wireless/ath/ath9k/main.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/net/wireless/ath/ath9k/main.c b/drivers/net/wireless/ath/ath9k/main.c
index 36f4f5a..4d64716 100644
--- a/drivers/net/wireless/ath/ath9k/main.c
+++ b/drivers/net/wireless/ath/ath9k/main.c
@@ -1196,6 +1196,10 @@ static int ath9k_start(struct ieee80211_hw *hw)
ath9k_btcoex_timer_resume(sc);
}
+ /* User has the option to provide pm-qos value as a module
+ * parameter rather than using the default value of
+ * 'ATH9K_PM_QOS_DEFAULT_VALUE'.
+ */
pm_qos_update_request(&sc->pm_qos_req, ath9k_pm_qos_value);
if (ah->caps.pcie_lcr_extsync_en && common->bus_ops->extn_synch_en)