mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-12 07:37:31 -04:00
qcacld-3.0: While starting adapters, on interface down, go to next adapter
During re-init of SSR, host restarts adapters one by one, by traversing adapterNode link-list, whose all interfaces are up. But if any of adapter's interface is down, then driver will be in infinite loop as its not traversing to next adapter node. So, on adapter's interface down, go to next adapter node to break infinite loop. Change-Id: I334a6304578d833485b58b2f6f494b4556c781ed CRs-Fixed: 1069498
This commit is contained in:
parent
8d9020fca4
commit
c1c4d2b55b
1 changed files with 2 additions and 2 deletions
|
|
@ -3821,7 +3821,7 @@ QDF_STATUS hdd_start_all_adapters(hdd_context_t *hdd_ctx)
|
|||
adapter = adapterNode->pAdapter;
|
||||
|
||||
if (!hdd_is_interface_up(adapter))
|
||||
continue;
|
||||
goto get_adapter;
|
||||
|
||||
hdd_wmm_init(adapter);
|
||||
|
||||
|
|
@ -3894,7 +3894,7 @@ QDF_STATUS hdd_start_all_adapters(hdd_context_t *hdd_ctx)
|
|||
default:
|
||||
break;
|
||||
}
|
||||
|
||||
get_adapter:
|
||||
status = hdd_get_next_adapter(hdd_ctx, adapterNode, &pNext);
|
||||
adapterNode = pNext;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue