summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--core/hdd/src/wlan_hdd_p2p.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/hdd/src/wlan_hdd_p2p.c b/core/hdd/src/wlan_hdd_p2p.c
index ea14978a8922..4f48df0c3094 100644
--- a/core/hdd/src/wlan_hdd_p2p.c
+++ b/core/hdd/src/wlan_hdd_p2p.c
@@ -2171,7 +2171,7 @@ stop_modules:
hdd_info("Other interfaces are still up dont close modules!");
close_adapter:
- hdd_close_adapter(pHddCtx, pAdapter, false);
+ hdd_close_adapter(pHddCtx, pAdapter, true);
return ERR_PTR(-EINVAL);
}