mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-23 21:19:04 -04:00
qcacld-3.0: Replace QDF_BUG(0) with cds_trigger_recovery()
Replace QDF_BUG(0) with call cds_trigger_recovery() in wma_remove_peer(), as it is a possible scenario for NDI since the NDI vdev is managed by FW. Change-Id: Ief8a37c732a1feebe3a78f2f03da791712398d43 CRs-Fixed: 2346252
This commit is contained in:
parent
a906529e9a
commit
4bd8905cd4
1 changed files with 2 additions and 2 deletions
|
|
@ -1467,9 +1467,9 @@ QDF_STATUS wma_remove_peer(tp_wma_handle wma, uint8_t *bssid,
|
|||
|
||||
if (!wma->interfaces[vdev_id].peer_count) {
|
||||
WMA_LOGE("%s: Can't remove peer with peer_addr %pM vdevid %d peer_count %d",
|
||||
__func__, bssid, vdev_id,
|
||||
__func__, bssid, vdev_id,
|
||||
wma->interfaces[vdev_id].peer_count);
|
||||
QDF_BUG(0);
|
||||
cds_trigger_recovery(QDF_REASON_UNSPECIFIED);
|
||||
return QDF_STATUS_E_INVAL;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue