소스 검색

qcacld-3.0: Fix PMF regression for SAP

In PMF SAP case iface->rmfEnabled is not set and thus even
unprotected frames are received by driver and processed.

To fix this set iface->rmfEnabled while adding station.

Change-Id: I3cbe5d7d64ee0d38f64f9cf256ce338163edd302
CRs-Fixed: 2048364
Abhishek Singh 8 년 전
부모
커밋
d7bc91391a
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      core/wma/src/wma_dev_if.c

+ 1 - 0
core/wma/src/wma_dev_if.c

@@ -3617,6 +3617,7 @@ static void wma_add_sta_req_ap_mode(tp_wma_handle wma, tpAddStaParams add_sta)
 	}
 #endif
 
+	iface->rmfEnabled = add_sta->rmfEnabled;
 	if (add_sta->rmfEnabled)
 		wma_set_mgmt_frame_protection(wma);