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
此提交包含在:
Yeshwanth Sriram Guntuka
2021-02-03 12:27:27 +05:30
提交者 snandini
父節點 32515d5e22
當前提交 f16765d8bd

查看文件

@@ -3897,6 +3897,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.