From: Johannes Berg Date: Wed, 1 Apr 2015 08:00:31 +0000 (+0200) Subject: iwlwifi: mvm: don't return uninitialized value in get_survey() X-Git-Tag: omap-for-v4.2/o2_dc~131^2~39^2~6^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=10a7c028dbf9920ba6781bf1adde1811dc50de86;p=pandora-kernel.git 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 Signed-off-by: Johannes Berg Signed-off-by: Emmanuel Grumbach --- Reading git-diff-tree failed