diff options
| author | Krunal Soni <ksoni@codeaurora.org> | 2016-04-22 10:57:30 -0700 |
|---|---|---|
| committer | Vishwajith Upendra <vishwaji@codeaurora.org> | 2016-04-27 17:00:20 -0700 |
| commit | eda6d7ec5077f0dab7b7914f40dfd89a7d2cd2de (patch) | |
| tree | 2d4c8a83dc1ee4e3c67f8474e46c389402f28716 /uapi/linux | |
| parent | b66fc73614723a88a03102d0d9a214db47ce52bb (diff) | |
qcacld-3.0: Fix memory allocation for zero channel list
Current driver try allocate memory when number of channel are passed
as zero which will cause memory allocation failure.
As part of the fix, when number of channels comes as zero then driver
shouldn't allocate memory and let the firmware take care of it.
CRs-Fixed: 1007196
Change-Id: I51d8a6decbe4c21265e88624e490446a48ea4857
Diffstat (limited to 'uapi/linux')
0 files changed, 0 insertions, 0 deletions
