qcacmn: Remove session_id from nan_datapath_peer_ind (Step 3)

Currently struct nan_datapath_peer_ind contains the following:
	uint8_t session_id;

This is problematic since "session_id" is a legacy concept and should
not be used in the converged project. Fortunately this field does not
actually serve any purpose. But in order to cleanly remove it a 3-step
approach is required.

Step 1 (qcacld Change If6cf48ccbfe87b23b275720df51c6cc26af9fa5e):
Remove the logic from the converged NAN code which currently reads
this field and logs the value.

Step 2 (qcacld-3.0 Change I2819556d48a9dd901158aaa04d6bda9c36f33012):
Remove the logic from the legacy NAN code which sets this field.

Step 3 (this change):
Remove the session_id field from struct nan_datapath_peer_ind.

Change-Id: Ibeb8007c96ae1a902bfd7dd99a42ba4a291a1dc6
CRs-Fixed: 2284401
This commit is contained in:
Jeff Johnson 2018-07-24 10:07:17 -07:00 • committed by nshrivas
commit 8ed15d109c

View file

@ -579,13 +579,11 @@ struct nan_datapath_indication_event {
/**
* struct nan_datapath_peer_ind - ndp peer indication
* @session_id: session id
* @peer_mac_addr: peer mac address
* @sta_id: station id
*
*/
struct nan_datapath_peer_ind {
uint8_t session_id;
struct qdf_mac_addr peer_mac_addr;
uint16_t sta_id;
};