qcacld-3.0: Don't proceed with NDP peer handling if NDI is not UP
Firmware might send NDP peer indication/NDP responder response while NDI deletion is in progress. Currently, NDP peer entry gets added though vdev is moved to DOWN state and cleanup is in progress. This leads to stale peer entry on that NDI vdev and doesn't allow vdev delete when IFF_DOWN comes, as a peer is present. Check the vdev state before creating peer for NDP and skip peer creation if NDI vdev is not in UP state(which indicates that the vdev down is happening). Also, don't process the NDP confirm if NDP peer is not created. Change-Id: I73e79cc33b1a294e3f4a4a6e2f371033862c5709 CRs-Fixed: 3061756
Loading
Please register or sign in to comment