android_kernel_xiaomi_sm8350/core/hdd
Ganesh Kondabattini 5159c430b6 qcacld-3.0: move the ct_peer_mac_table to hdd ctx
Access to tdls_ctx should be protected with mutex since
it is being accessed and freed in different contexts.

ct_peer_mac_table is a parameter of tdls_ctx and it is
being accessed in tx/rx path which runs in softirq context.
So we cannot hold the mutex while accessing the tdls_ctx
in tx/rx path.

In this change the ct_peer_mac_table is moved to hdd_ctx so
that we no need access the tdls_ctx in tx/rx path.

CRs-Fixed: 1105539
Change-Id: Iafcc450a6e34500929605a11274fb2077b3f81fe
2017-03-03 13:13:03 -08:00
..
inc qcacld-3.0: move the ct_peer_mac_table to hdd ctx 2017-03-03 13:13:03 -08:00
src qcacld-3.0: move the ct_peer_mac_table to hdd ctx 2017-03-03 13:13:03 -08:00