ath9k: Fix BTCOEX weight initialization
authorSujith Manoharan <c_manoha@qualcomm.com>
Fri, 28 Sep 2012 05:43:51 +0000 (11:13 +0530)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 28 Sep 2012 17:54:10 +0000 (13:54 -0400)
commit5160b46f3e53c41c4c6b9e7cdbe0401d3afbfb63
treea0b4864bab2739f5c2658c0e3fa009222b988f1e
parent5570a914f28f58de6839a4d532e98eb8167bd57d
ath9k: Fix BTCOEX weight initialization

The WLAN/BT weights have to set correctly before BTCOEX
is initialized. Currently, this is not done for all chips
in the AR9003 family. This patch fixes this issue by setting
the weights in the init path. While at it, rename ar9462_wlan_weights
to mci_wlan_weights since it is common to both AR9462 and AR9565.

Signed-off-by: Sujith Manoharan <c_manoha@qca.qualcomm.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath9k/btcoex.c
drivers/net/wireless/ath/ath9k/btcoex.h
drivers/net/wireless/ath/ath9k/gpio.c
drivers/net/wireless/ath/ath9k/htc_drv_gpio.c