|
@@ -1565,9 +1565,9 @@ static void os_if_new_peer_ind_handler(struct wlan_objmgr_vdev *vdev,
|
|
|
return;
|
|
|
}
|
|
|
|
|
|
- cfg80211_debug("session_id: %d, peer_mac: %pM, sta_id: %d",
|
|
|
- peer_ind->session_id, peer_ind->peer_mac_addr.bytes,
|
|
|
- peer_ind->sta_id);
|
|
|
+ cfg80211_debug("vdev_id: %d, peer_mac: %pM, sta_id: %d",
|
|
|
+ vdev_id, peer_ind->peer_mac_addr.bytes,
|
|
|
+ peer_ind->sta_id);
|
|
|
ret = cb_obj.new_peer_ind(vdev_id, peer_ind->sta_id,
|
|
|
&peer_ind->peer_mac_addr,
|
|
|
(active_peers == 0 ? true : false));
|
|
@@ -1607,9 +1607,9 @@ static void os_if_peer_departed_ind_handler(struct wlan_objmgr_vdev *vdev,
|
|
|
cfg80211_err("Invalid new NDP peer params");
|
|
|
return;
|
|
|
}
|
|
|
- cfg80211_debug("session_id: %d, peer_mac: %pM, sta_id: %d",
|
|
|
- peer_ind->session_id, peer_ind->peer_mac_addr.bytes,
|
|
|
- peer_ind->sta_id);
|
|
|
+ cfg80211_debug("vdev_id: %d, peer_mac: %pM, sta_id: %d",
|
|
|
+ vdev_id, peer_ind->peer_mac_addr.bytes,
|
|
|
+ peer_ind->sta_id);
|
|
|
active_peers--;
|
|
|
ucfg_nan_set_active_peers(vdev, active_peers);
|
|
|
cb_obj.peer_departed_ind(vdev_id, peer_ind->sta_id,
|