3915bd37fb931d9e4260c7b401bf3cadeeeff245

In case the vdev is already disconnected, the indication to the upper layer, would have been sent as part of previous disconnect/connect failure. If the upper layer is in process of connecting, sending the disconnect indication back again may cause it to incorrectly think it as connect failure. So sending a disconnect indication again is not advisable. So if a new disconnect is received in INIT state, drop the disconnect and return failure. Also remove osif_cm_reset_id_and_src() from osif disconnect to avoid race between disconnect complete of old disconnect and new disconnect request. With osif_cm_reset_id_and_src() old disconnect might also get dropped in osif and with this fix new disconnect will also get dropped, so make sure that last/old disconnect indication is sent to upper layer. Change-Id: Icf7352d8904473329edff9ec124c6197f214f88b CRs-Fixed: 3074093
This is CNSS WLAN Host Driver for products starting from iHelium
Descrizione
Languages
C
98.7%
C++
0.9%
Makefile
0.3%
Starlark
0.1%