commit | 1d019fd4b4649bbfddb00289b87ccbd6285b7d06 | [log] [tgz] |
---|---|---|
author | Dundi Raviteja <dundi@codeaurora.org> | Sun Sep 23 18:18:22 2018 +0530 |
committer | Dundi Raviteja <dundi@codeaurora.org> | Sun Sep 23 18:35:42 2018 +0530 |
tree | 1efa1cdaefff303547d741f0379618863c59c076 | |
parent | f852cc5647db2d3f56aff9e4c52679f285b7b74c [diff] |
prima: Dereferencing uninitialized pointer while disabling channels Accessing n_channels variable from wiphy bands that is uninitialized which causes NULL pointer dereference in both wlan_hdd_disable_channels() and wlan_hdd_restore_channels() functions. To address this, add NULL check for wiphy bands in both functions. Change-Id: I937c3d70a6b93768fbe9e2d931dbde60aedc449d CRs-Fixed: 2320898