[PATCH] call trace caused by unloading module ath9k_htc.

hong zhang henryzhang62 at yahoo.com
Mon Nov 16 17:17:57 UTC 2009


Signed-off-by: Henry Zhang <henryzhang62 at yahoo.com>

Correct one typo that will cause call trace when unloading module ath9k_htc.
---
 ath/ath9k/ath9k_htc.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/ath/ath9k/ath9k_htc.c b/ath/ath9k/ath9k_htc.c
index 23d77c0..b30d3d7 100644
--- a/ath/ath9k/ath9k_htc.c
+++ b/ath/ath9k/ath9k_htc.c
@@ -1632,7 +1632,7 @@ static int ath_init_htc_priv(u16 devid, struct ath_htc_priv *priv)
 	INIT_WORK(&priv->wmi_work, ath9k_htc_wmi_work);
 	INIT_WORK(&priv->rx_work, ath9k_htc_rx_work);
 	INIT_WORK(&priv->tx_work, ath9k_htc_tx_work);
-	INIT_WORK(&priv->tx_work, ath9k_htc_tx_complete_work);
+	INIT_WORK(&priv->tx_complete_work, ath9k_htc_tx_complete_work);
 
 	/*
 	 * XXX: shall we remove ah_sc from upstream struct ath_hw or rename
-- 
1.6.0.4



      



More information about the devel mailing list