mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-10 06:09:23 -04:00
qcacmn: Set authorize flag when peer state is updated to auth
Set authorize flag when peer state is update to authenticated state. Change-Id: I303bb9e32f72176e73bbdc2861468cf0fd1a43c6 CRs-Fixed: 2869537
This commit is contained in:
parent
33bcf87d2d
commit
bb967d4ed1
1 changed files with 2 additions and 0 deletions
|
|
@ -3948,6 +3948,8 @@ QDF_STATUS dp_peer_state_update(struct cdp_soc_t *soc_hdl, uint8_t *peer_mac,
|
|||
}
|
||||
peer->state = state;
|
||||
|
||||
peer->authorize = (state == OL_TXRX_PEER_STATE_AUTH) ? 1 : 0;
|
||||
|
||||
dp_info("peer %pK state %d", peer, peer->state);
|
||||
/* ref_cnt is incremented inside dp_peer_find_hash_find().
|
||||
* Decrement it here.
|
||||
|
|
|
|||
Loading…
Reference in a new issue