qcacmn: Initialize tdls peer sta_id
TDLS sta_id check logic has changed, the value zero is valid, so initialize the tdls peer sta_id as 0xff, otherwise add tdls peer won't happen. Change-Id: I805e4abdec8806f649d15da4f02980de9ffdc0ea CRs-Fixed: 2263523
Este commit está contenido en:
@@ -185,6 +185,7 @@ static struct tdls_peer *tdls_add_peer(struct tdls_vdev_priv_obj *vdev_obj,
|
||||
tdls_find_opclass(soc_obj->soc,
|
||||
peer->pref_off_chan_num,
|
||||
soc_obj->tdls_configs.tdls_pre_off_chan_bw);
|
||||
peer->sta_id = INVALID_TDLS_PEER_ID;
|
||||
|
||||
qdf_list_insert_back(head, &peer->node);
|
||||
|
||||
|
Referencia en una nueva incidencia
Block a user