diff options
author | Sujith Manoharan <Sujith.Manoharan@atheros.com> | 2011-02-20 21:20:30 -0500 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2011-02-23 16:25:28 -0500 |
commit | 3e3f1d197f5a432b961fadb35604dba92583945e (patch) | |
tree | 418e6cbbd2d69226659e82d6b8a255f1da6272bd | |
parent | 4825f54a44fc7280bf02c6d48c83d7a3df864e17 (diff) |
ath9k_htc: Add debug code to print endpoint mapping
Signed-off-by: Sujith Manoharan <Sujith.Manoharan@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
-rw-r--r-- | drivers/net/wireless/ath/ath9k/htc_drv_init.c | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/drivers/net/wireless/ath/ath9k/htc_drv_init.c b/drivers/net/wireless/ath/ath9k/htc_drv_init.c index 52c6af2d6341..fc67c937e172 100644 --- a/drivers/net/wireless/ath/ath9k/htc_drv_init.c +++ b/drivers/net/wireless/ath/ath9k/htc_drv_init.c | |||
@@ -787,6 +787,7 @@ static int ath9k_init_device(struct ath9k_htc_priv *priv, | |||
787 | struct ath_hw *ah; | 787 | struct ath_hw *ah; |
788 | int error = 0; | 788 | int error = 0; |
789 | struct ath_regulatory *reg; | 789 | struct ath_regulatory *reg; |
790 | char hw_name[64]; | ||
790 | 791 | ||
791 | /* Bring up device */ | 792 | /* Bring up device */ |
792 | error = ath9k_init_priv(priv, devid, product, drv_info); | 793 | error = ath9k_init_priv(priv, devid, product, drv_info); |
@@ -827,6 +828,22 @@ static int ath9k_init_device(struct ath9k_htc_priv *priv, | |||
827 | goto err_world; | 828 | goto err_world; |
828 | } | 829 | } |
829 | 830 | ||
831 | ath_dbg(common, ATH_DBG_CONFIG, | ||
832 | "WMI:%d, BCN:%d, CAB:%d, UAPSD:%d, MGMT:%d, " | ||
833 | "BE:%d, BK:%d, VI:%d, VO:%d\n", | ||
834 | priv->wmi_cmd_ep, | ||
835 | priv->beacon_ep, | ||
836 | priv->cab_ep, | ||
837 | priv->uapsd_ep, | ||
838 | priv->mgmt_ep, | ||
839 | priv->data_be_ep, | ||
840 | priv->data_bk_ep, | ||
841 | priv->data_vi_ep, | ||
842 | priv->data_vo_ep); | ||
843 | |||
844 | ath9k_hw_name(priv->ah, hw_name, sizeof(hw_name)); | ||
845 | wiphy_info(hw->wiphy, "%s\n", hw_name); | ||
846 | |||
830 | ath9k_init_leds(priv); | 847 | ath9k_init_leds(priv); |
831 | ath9k_start_rfkill_poll(priv); | 848 | ath9k_start_rfkill_poll(priv); |
832 | 849 | ||