qcacld-3.0: Fix to respond to SA query req only in-case of SAP-PMF
As per the PMF offload feature, all STA related SA queries should be handled in firmware and all SAP related SA queries should be handled in host. Current driver is assuming that both are handled in firmware which is not true. Fix the design by checking if session is STA or SAP and take the decision based on that. Change-Id: I1a89e509068ecb85a6c5655dd43e01a39d660b2e CRs-Fixed: 1081177
This commit is contained in:

gecommit door
qcabuildsw

bovenliggende
2d7fb16abc
commit
b0e1e533f0
@@ -1546,10 +1546,9 @@ static void __lim_process_sa_query_request_action_frame(tpAniSirGlobal pMac,
|
||||
return;
|
||||
|
||||
/* 11w offload is enabled then firmware should not fwd this frame */
|
||||
if (pMac->pmf_offload) {
|
||||
if (LIM_IS_STA_ROLE(psessionEntry) && pMac->pmf_offload) {
|
||||
lim_log(pMac, LOGE,
|
||||
FL("11w offload is enabled, SA Query request is not expected ")
|
||||
);
|
||||
FL("11w offload enabled, SA Query req isn't expected"));
|
||||
return;
|
||||
}
|
||||
|
||||
|
Verwijs in nieuw issue
Block a user