mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-31 12:10:52 -04:00
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
This commit is contained in:
parent
cf4286b730
commit
1113c5b649
1 changed files with 1 additions and 0 deletions
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue