Browse Source

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 years ago
parent
commit
d7bc91391a
1 changed files with 1 additions and 0 deletions
  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);