|
@@ -157,16 +157,6 @@ lim_process_deauth_frame(struct mac_context *mac, uint8_t *pRxPacketInfo,
|
|
|
reasonCode, lim_dot11_reason_str(reasonCode),
|
|
|
QDF_MAC_ADDR_ARRAY(pHdr->sa));
|
|
|
|
|
|
- if (mac->mlme_cfg->gen.fatal_event_trigger &&
|
|
|
- (reasonCode != eSIR_MAC_UNSPEC_FAILURE_REASON &&
|
|
|
- reasonCode != eSIR_MAC_DEAUTH_LEAVING_BSS_REASON &&
|
|
|
- reasonCode != eSIR_MAC_DISASSOC_LEAVING_BSS_REASON)) {
|
|
|
- cds_flush_logs(WLAN_LOG_TYPE_FATAL,
|
|
|
- WLAN_LOG_INDICATOR_HOST_DRIVER,
|
|
|
- WLAN_LOG_REASON_DISCONNECT,
|
|
|
- true, false);
|
|
|
- }
|
|
|
-
|
|
|
lim_diag_event_report(mac, WLAN_PE_DIAG_DEAUTH_FRAME_EVENT,
|
|
|
pe_session, 0, reasonCode);
|
|
|
|
|
@@ -319,6 +309,15 @@ lim_process_deauth_frame(struct mac_context *mac, uint8_t *pRxPacketInfo,
|
|
|
lim_perform_deauth(mac, pe_session, reasonCode, pHdr->sa,
|
|
|
frame_rssi);
|
|
|
|
|
|
+ if (mac->mlme_cfg->gen.fatal_event_trigger &&
|
|
|
+ (reasonCode != eSIR_MAC_UNSPEC_FAILURE_REASON &&
|
|
|
+ reasonCode != eSIR_MAC_DEAUTH_LEAVING_BSS_REASON &&
|
|
|
+ reasonCode != eSIR_MAC_DISASSOC_LEAVING_BSS_REASON)) {
|
|
|
+ cds_flush_logs(WLAN_LOG_TYPE_FATAL,
|
|
|
+ WLAN_LOG_INDICATOR_HOST_DRIVER,
|
|
|
+ WLAN_LOG_REASON_DISCONNECT,
|
|
|
+ true, false);
|
|
|
+ }
|
|
|
|
|
|
} /*** end lim_process_deauth_frame() ***/
|
|
|
|