diff options
| author | Dundi Raviteja <dundi@codeaurora.org> | 2018-09-24 11:04:31 +0530 |
|---|---|---|
| committer | nshrivas <nshrivas@codeaurora.org> | 2018-10-08 15:26:58 -0700 |
| commit | dd7e7f3fda7df3d362e4cb1f867e053bfdfa9da4 (patch) | |
| tree | d42c739f5f12a6ac7c88808e7c88742cd8e695e6 /scripts/gdb/linux/tasks.py | |
| parent | cc949404c251bcf0020e23f38c9174b82dc1e218 (diff) | |
qcacld-3.0: Validate adapter and free llstats buffer if get request fails
__wlan_hdd_open_ll_stats_debugfs() currently does not ensure the given
adapter is up. This can lead to sending an invalid vdev Id to firmware.
Also __wlan_hdd_open_ll_stats_debugfs() fails to free the llstats buffer
in the event that wlan_hdd_ll_stats_get() fails.
Ensure the given adapter is up before sending the link layer stats
request to firmware and add error handling for this call which frees
the newly allocated buffer.
Change-Id: Ic5cff77a758ff81da82dd1143d77da68d87b9291
CRs-Fixed: 2304715
Diffstat (limited to 'scripts/gdb/linux/tasks.py')
0 files changed, 0 insertions, 0 deletions
