qcacld-3.0: Fix assert for race condition
When disconnect from wpa_supplicant and cm event from F/W happen at same time, supplicant holds cm cm_req_lock and wait rsp of p2p cleanup roc from scheduler thread until 2 sec timeout, sheduler thread is blocked to wait for cm_req_lock. When wmi peer delete of vdev0 is not sent within 1.2 sec after host send wmi peer delete of vdev1, firmware will assert. To fix it, don't wait rsp of p2p cleanup roc when disconnect by async way. Change-Id: I877b7a446dfd12f621dad5049a67574359bdd322 CRs-Fixed: 3285115
This commit is contained in:

committad av
Madan Koyyalamudi

förälder
44e5285e67
incheckning
56608e95ec
@@ -1,6 +1,6 @@
|
||||
/*
|
||||
* Copyright (c) 2019-2021 The Linux Foundation. All rights reserved.
|
||||
* Copyright (c) 2021 Qualcomm Innovation Center, Inc. All rights reserved.
|
||||
* Copyright (c) 2021-2022 Qualcomm Innovation Center, Inc. All rights reserved.
|
||||
*
|
||||
* Permission to use, copy, modify, and/or distribute this software for
|
||||
* any purpose with or without fee is hereby granted, provided that the
|
||||
@@ -44,12 +44,14 @@ bool wlan_p2p_check_oui_and_force_1x1(uint8_t *assoc_ie, uint32_t ie_len);
|
||||
/**
|
||||
* wlan_p2p_cleanup_roc_by_vdev() - Cleanup roc request by vdev
|
||||
* @vdev: pointer to vdev object
|
||||
* @sync: whether to wait for complete event
|
||||
*
|
||||
* This function call P2P API to cleanup roc request by vdev
|
||||
*
|
||||
* Return: QDF_STATUS_SUCCESS - in case of success
|
||||
*/
|
||||
QDF_STATUS wlan_p2p_cleanup_roc_by_vdev(struct wlan_objmgr_vdev *vdev);
|
||||
QDF_STATUS wlan_p2p_cleanup_roc_by_vdev(struct wlan_objmgr_vdev *vdev,
|
||||
bool sync);
|
||||
|
||||
/**
|
||||
* wlan_p2p_status_connect() - Update P2P connection status
|
||||
|
Referens i nytt ärende
Block a user