projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
97ba515
)
ath9k_hw: Fix variable usage
author
Sujith Manoharan
<
[email protected]
>
Mon, 4 Jun 2012 10:57:47 +0000
(16:27 +0530)
committer
John W. Linville
<
[email protected]
>
Wed, 6 Jun 2012 19:20:26 +0000
(15:20 -0400)
Exposed by sparse:
ar9003_mci.c:1134:31: warning: Using plain integer as NULL pointer
Signed-off-by: Sujith Manoharan <
[email protected]
>
Signed-off-by: John W. Linville <
[email protected]
>
drivers/net/wireless/ath/ath9k/ar9003_mci.c
patch
|
blob
|
history
diff --git
a/drivers/net/wireless/ath/ath9k/ar9003_mci.c
b/drivers/net/wireless/ath/ath9k/ar9003_mci.c
index 9331d73f69aafdda01ac0f26cc5eb8d1a6132f1d..b501bf14343724e81866fb1802e528c59a73cc4d 100644
(file)
--- 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)
if (ar9003_mci_wait_for_gpm(ah, MCI_GPM_BT_CAL_GRANT, 0, 50000)) {
ath_dbg(common, MCI, "MCI BT_CAL_GRANT received\n");
} else {
- is_reusable = false;
+
*
is_reusable = false;
ath_dbg(common, MCI, "MCI BT_CAL_GRANT not received\n");
}
}