summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCNSS_WLAN Service <cnssbldsw@qualcomm.com>2019-02-26 20:44:02 -0800
committerGerrit - the friendly Code Review server <code-review@localhost>2019-02-26 20:44:02 -0800
commit8fe5ad91d56a531b83d70ba1232df8623a88b30c (patch)
tree72514b816401fc5b9f7fd53f578f3ad2f13d5efb
parent9e58e91cb1ec9a6a4683253c426c40632ad1860b (diff)
parentb15046d951b4be4fa5bce8c40594f53378a783e5 (diff)
Merge "qcacld-2.0: oob_irq_handler should be called if oob gpio is low" into wlan-cld2.driver.lnx.1.0
-rw-r--r--CORE/SERVICES/HIF/hif_oob.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/CORE/SERVICES/HIF/hif_oob.c b/CORE/SERVICES/HIF/hif_oob.c
index 61eac69ad0a8..346b456bb0b7 100644
--- a/CORE/SERVICES/HIF/hif_oob.c
+++ b/CORE/SERVICES/HIF/hif_oob.c
@@ -76,11 +76,12 @@ static int oob_task(void *pm_oob)
while (!hif_oob->oob_shutdown) {
if (down_interruptible(&hif_oob->oob_sem) != 0)
continue;
- while (!gpio_get_value(hif_oob->oob_gpio_num))
+ while (!gpio_get_value(hif_oob->oob_gpio_num)) {
if (hif_oob->wow_maskint)
break;
hif_oob->oob_irq_handler(
hif_oob_irq_handler_ctx((HIF_DEVICE *)pm_oob));
+ }
}
complete_and_exit(&hif_oob->oob_completion, 0);