qcacld-3.0: Fix incorrect reason code logging for Deauth/Disassoc
During Deauth/Disassoc event logging, reason code is being logged as '0' irrespective of the real reason code. Modified the api wlan_connectivity_mgmt_event() and api cm_roam_mgmt_frame_event() to og correct value of the reason code. Change-Id: I6d5ba65a9ae312dc82e70202fe598da27a033ff3 CRs-Fixed: 3297871
This commit is contained in:

zatwierdzone przez
Madan Koyyalamudi

rodzic
177ccb0f9e
commit
356a5cde4e
@@ -542,6 +542,10 @@ wlan_connectivity_mgmt_event(struct wlan_objmgr_psoc *psoc,
|
||||
wlan_diag_event.auth_seq_num = auth_seq;
|
||||
wlan_diag_event.assoc_id = aid;
|
||||
|
||||
if (wlan_diag_event.subtype > WLAN_CONN_DIAG_REASSOC_RESP_EVENT &&
|
||||
wlan_diag_event.subtype < WLAN_CONN_DIAG_BMISS_EVENT)
|
||||
wlan_diag_event.reason = status_code;
|
||||
|
||||
wlan_diag_event.is_retry_frame =
|
||||
(mac_hdr->i_fc[1] & IEEE80211_FC1_RETRY);
|
||||
is_auth_frame_caching_required =
|
||||
|
@@ -6759,6 +6759,11 @@ cm_roam_mgmt_frame_event(struct roam_frame_info *frame_data,
|
||||
!frame_data->is_rsp);
|
||||
diag_event = EVENT_WLAN_MGMT;
|
||||
}
|
||||
|
||||
if (wlan_diag_event.subtype > WLAN_CONN_DIAG_REASSOC_RESP_EVENT &&
|
||||
wlan_diag_event.subtype < WLAN_CONN_DIAG_BMISS_EVENT)
|
||||
wlan_diag_event.reason = frame_data->status_code;
|
||||
|
||||
WLAN_HOST_DIAG_EVENT_REPORT(&wlan_diag_event, diag_event);
|
||||
|
||||
return status;
|
||||
|
Reference in New Issue
Block a user