aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSujith Manoharan <c_manoha@qca.qualcomm.com>2012-06-04 06:57:47 -0400
committerJohn W. Linville <linville@tuxdriver.com>2012-06-06 15:20:26 -0400
commit2fd5d35bc87a301d5c10397c5b38a4ec8532a975 (patch)
tree2f19d40107f50fb68568a4175b43a6b2e69c71ca
parent97ba515a201bc61c7d36c41ad728b0a7debd5d88 (diff)
ath9k_hw: Fix variable usage
Exposed by sparse: ar9003_mci.c:1134:31: warning: Using plain integer as NULL pointer Signed-off-by: Sujith Manoharan <c_manoha@qca.qualcomm.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
-rw-r--r--drivers/net/wireless/ath/ath9k/ar9003_mci.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/ath/ath9k/ar9003_mci.c b/drivers/net/wireless/ath/ath9k/ar9003_mci.c
index 9331d73f69aa..b501bf143437 100644
--- a/drivers/net/wireless/ath/ath9k/ar9003_mci.c
+++ b/drivers/net/wireless/ath/ath9k/ar9003_mci.c
@@ -1131,7 +1131,7 @@ void ar9003_mci_init_cal_req(struct ath_hw *ah, bool *is_reusable)
1131 if (ar9003_mci_wait_for_gpm(ah, MCI_GPM_BT_CAL_GRANT, 0, 50000)) { 1131 if (ar9003_mci_wait_for_gpm(ah, MCI_GPM_BT_CAL_GRANT, 0, 50000)) {
1132 ath_dbg(common, MCI, "MCI BT_CAL_GRANT received\n"); 1132 ath_dbg(common, MCI, "MCI BT_CAL_GRANT received\n");
1133 } else { 1133 } else {
1134 is_reusable = false; 1134 *is_reusable = false;
1135 ath_dbg(common, MCI, "MCI BT_CAL_GRANT not received\n"); 1135 ath_dbg(common, MCI, "MCI BT_CAL_GRANT not received\n");
1136 } 1136 }
1137} 1137}