summaryrefslogtreecommitdiff
path: root/drivers/net/wireless/iwlwifi/mvm/fw-api-scan.h
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2015-04-01 11:00:31 +0300
committerEmmanuel Grumbach <emmanuel.grumbach@intel.com>2015-04-02 09:29:12 +0300
commit10a7c028dbf9920ba6781bf1adde1811dc50de86 (patch)
tree3ddf98364f046a7e74ea167f21c0ceffa1757a1e /drivers/net/wireless/iwlwifi/mvm/fw-api-scan.h
parentd42f53503406d5dcedbad9ea18c964f189f72d84 (diff)
downloadlinux-10a7c028dbf9920ba6781bf1adde1811dc50de86.tar.xz
iwlwifi: mvm: don't return uninitialized value in get_survey()
If ucode_loaded isn't true the function returns the 'ret' variable without having assigned a value properly. Fix that. Reported-by: Haim Dreyfuss <haim.dreyfuss@intel.com> Signed-off-by: Johannes Berg <johannes.berg@intel.com> Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Diffstat (limited to 'drivers/net/wireless/iwlwifi/mvm/fw-api-scan.h')
0 files changed, 0 insertions, 0 deletions