qcacld-3.0: Replace tSirMacReasonCodes with enum wlan_reason_code

Replace all enums of tSirMacReasonCodes with common
enum wlan_reason_code.

Change-Id: Ida950a08ac4ceea2911344a8d919b2d93ac7d1fe
CRs-Fixed: 2781197
This commit is contained in:
gaurank kathpalia
2020-09-21 11:55:57 +05:30
committed by snandini
parent 156a93905f
commit b81c0ae7d2
37 changed files with 191 additions and 339 deletions

View File

@@ -2358,7 +2358,7 @@ void wlansap_populate_del_sta_params(const uint8_t *mac,
QDF_MAC_ADDR_SIZE);
if (reason_code == 0)
params->reason_code = eSIR_MAC_DEAUTH_LEAVING_BSS_REASON;
params->reason_code = REASON_DEAUTH_NETWORK_LEAVING;
else
params->reason_code = reason_code;