Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e5598953 authored by Liangwei Dong's avatar Liangwei Dong Committed by Srinivas Dasari
Browse files

prima: Flush pmksa cache for SAP when SAP stop

In certain case, the active SAP interface will be deleted by
__wlan_hdd_del_virtual_intf by upper layer. In that case,
Driver should flush pmksa in SAP cache.

Change-Id: I9a152df7a4c27aef82664f039fbca18259d6b63a
CRs-Fixed: 2635424
parent 18ce38ee
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -10554,6 +10554,11 @@ VOS_STATUS hdd_stop_adapter( hdd_context_t *pHddCtx, hdd_adapter_t *pAdapter,
          /* Delete all associated STAs before stopping AP */
          if (test_bit(SOFTAP_BSS_STARTED, &pAdapter->event_flags))
               hdd_del_all_sta(pAdapter);
          /* Flush the PMKID cache in CSR */
          if (eHAL_STATUS_SUCCESS != sme_RoamDelPMKIDfromCache(pHddCtx->hHal,
                                               pAdapter->sessionId, NULL, TRUE))
               hddLog(VOS_TRACE_LEVEL_ERROR, FL("Cannot flush PMKIDCache"));
          /* Fall through */
      case WLAN_HDD_P2P_GO: