NDI delete response is sent to userspace only when NDI is in NAN_DATA_NDI_DELETING_STATE state. But NDI could be in NAN_DATA_DISCONNECTED_STATE state if cleanup happens through NDP_END_ALL path. Driver doesn't send response to userspace in this case. Send the response to userspace in NAN_DATA_DISCONNECTED_STATE also as the application might be waiting for NDI delete status. Also, use set/get APIs and avoid accessing NDI state directly. Change-Id: I81a6b19a77144c76dde145f126c45b2ca67ff093 CRs-Fixed: 2679581 |
||
---|---|---|
.. | ||
inc | ||
src |