qcacld-3.0: Forward NDP Indication event for NDP initiator
Driver only forwards NDP Indication event to upper layers after it receives the event WMI_NDP_INDICATION_EVENTID as an NDP Responder. But while as an NDP Initiator, if the NDP Peer sends App info through NDP Response instead of NDP Confirm, driver receives the same event. But it does not forward it to upper layers. As a result App info is dropped and upper layers miss out on it. Forward NDP Indication event to upper layers through vendor event subtype QCA_WLAN_VENDOR_ATTR_NDP_REQUEST_IND regardless of the NDP role of the device. Change-Id: I63349b92426b6090e024957e70fd7f9ef97cf314 CRs-Fixed: 2375741
This commit is contained in:

committed by
nshrivas

parent
54f96fb1b4
commit
0a1aea6d44
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2016-2018 The Linux Foundation. All rights reserved.
|
||||
* Copyright (c) 2016-2019 The Linux Foundation. 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
|
||||
@@ -393,11 +393,10 @@ static QDF_STATUS nan_handle_ndp_ind(
|
||||
return status;
|
||||
}
|
||||
}
|
||||
if (NAN_DATAPATH_ROLE_RESPONDER == ndp_ind->role)
|
||||
psoc_nan_obj->cb_obj.os_if_ndp_event_handler(psoc,
|
||||
ndp_ind->vdev,
|
||||
NDP_INDICATION,
|
||||
ndp_ind);
|
||||
psoc_nan_obj->cb_obj.os_if_ndp_event_handler(psoc,
|
||||
ndp_ind->vdev,
|
||||
NDP_INDICATION,
|
||||
ndp_ind);
|
||||
|
||||
return status;
|
||||
}
|
||||
|
Reference in New Issue
Block a user