/* @wss: local WSS to which neighbor wants to connect @dev_addr: neighbor's address @wssid: neighbor's WSSID - must be same as our WSS's WSSID @tag: neighbor's WSS tag used to identify frames transmitted by it @virt_addr: neighbor's virtual EUI-48  */
static int wlp_wss_activate_connection(struct wlp *wlp, struct wlp_wss *wss, struct uwb_dev_addr *dev_addr, struct wlp_uuid *wssid, u8 *tag, struct uwb_mac_addr *virt_addr)
/* @wss: local WSS to which neighbor wants to connect @dev_addr: neighbor's address @wssid: neighbor's WSSID - must be same as our WSS's WSSID @tag: neighbor's WSS tag used to identify frames transmitted by it @virt_addr: neighbor's virtual EUI-48  */
static int wlp_wss_activate_connection(struct wlp *wlp, struct wlp_wss *wss, struct uwb_dev_addr *dev_addr, struct wlp_uuid *wssid, u8 *tag, struct uwb_mac_addr *virt_addr)
{
	struct device *dev = &wlp->rc->uwb_dev.dev;
	int result = 0;
	if (!memcmp(wssid, &wss->wssid, sizeof(*wssid))) {
		result = wlp_eda_update_node(&wlp->eda, dev_addr, wss,
					     (void *) virt_addr->data, *tag,
					     WLP_WSS_CONNECTED);
		if (result < 0)
			dev_err(dev, "WLP: Unable to update EDA cache "
				"with new connected neighbor information.\n");
	} else {
		dev_err(dev, "WLP: Neighbor does not have matching WSSID.\n");
		result = -EINVAL;
	}
	return result;
}