diff options
| author | Ryan Hsu <ryanhsu@qca.qualcomm.com> | 2014-06-04 22:34:07 -0700 |
|---|---|---|
| committer | Pitani Venkata Rajesh Kumar <c_vpitan@qti.qualcomm.com> | 2014-06-07 00:56:21 +0530 |
| commit | e07f7155b61789d652ccdf2aa7a51b36902ddea5 (patch) | |
| tree | 228437f7075632be420dc49ff2170c2fdf007396 | |
| parent | f71f730a781f9f760f8387e40c31273637238046 (diff) | |
qcacld: fix a watchdog bite while radar detection
The else case is not necessary, remove it to advance to the next
adapter, otherwise it'll trap in the SAP case and the loop never ends.
Change-Id: Ib6032f78e44d0cc158ffd0a07d0b5b2585bb522c
CRs-fixed: 675824
| -rwxr-xr-x | CORE/HDD/src/wlan_hdd_main.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/CORE/HDD/src/wlan_hdd_main.c b/CORE/HDD/src/wlan_hdd_main.c index e80e2efba38a..887fda325810 100755 --- a/CORE/HDD/src/wlan_hdd_main.c +++ b/CORE/HDD/src/wlan_hdd_main.c @@ -6366,11 +6366,9 @@ void hdd_dfs_indicate_radar(void *context, void *param) { WLAN_HDD_GET_AP_CTX_PTR(pAdapter)->dfs_cac_block_tx = VOS_TRUE; } - else - { - status = hdd_get_next_adapter ( pHddCtx, pAdapterNode, &pNext ); - pAdapterNode = pNext; - } + + status = hdd_get_next_adapter ( pHddCtx, pAdapterNode, &pNext ); + pAdapterNode = pNext; } } } |
