mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-13 16:16:15 -04:00
Merge "qcacld-3.0: Check sme session opened flag for opened interfaces" into wlan-cld3.driver.lnx.2.0-dev
This commit is contained in:
commit
1b331e3755
1 changed files with 3 additions and 1 deletions
|
|
@ -4670,7 +4670,9 @@ bool hdd_check_for_opened_interfaces(struct hdd_context *hdd_ctx)
|
|||
status = hdd_get_front_adapter(hdd_ctx, &adapter_node);
|
||||
while ((NULL != adapter_node) && (QDF_STATUS_SUCCESS == status)) {
|
||||
if (test_bit(DEVICE_IFACE_OPENED,
|
||||
&adapter_node->adapter->event_flags)) {
|
||||
&adapter_node->adapter->event_flags) ||
|
||||
test_bit(SME_SESSION_OPENED,
|
||||
&adapter_node->adapter->event_flags)) {
|
||||
hdd_debug("Still other ifaces are up cannot close modules");
|
||||
close_modules = false;
|
||||
break;
|
||||
|
|
|
|||
Loading…
Reference in a new issue