qcacld-3.0: Trigger copy of pktlogs to SD Card on basis of ring ID

For fatal events , driver sends EVENT_WLAN_LOG_COMPLETE
to userspace. But there can be multiple events for each
ring id like connectivity, driver , frimware, wakelock etc.
Cnss diag has to trigger copy of pkt log to /sdcard only for
one bug report, so send ring id in log complete event so
that it can trigger copy for driver ring id.

Change-Id: I0776775ab81fd2920ea440b773b146b6af61e434
CRs-Fixed: 2028068
This commit is contained in:
Agrawal Ashish
2017-05-30 15:25:47 +05:30
committed by snandini
parent 260d3d7b66
commit aff2898902

View File

@@ -6068,7 +6068,8 @@ static int __wlan_hdd_cfg80211_wifi_logger_get_ring_data(struct wiphy *wiphy,
} else {
wlan_report_log_completion(WLAN_LOG_TYPE_NON_FATAL,
WLAN_LOG_INDICATOR_FRAMEWORK,
WLAN_LOG_REASON_CODE_UNUSED);
WLAN_LOG_REASON_CODE_UNUSED,
ring_id);
}
return 0;
}