From: Arik Nemtsov Date: Mon, 23 Mar 2015 12:32:53 +0000 (+0200) Subject: iwlwifi: mvm: always reconfigure last MCC on init X-Git-Tag: omap-for-v4.2/o2_dc~131^2~39^2~6^2~9 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b6e160ab15c203fe77d13a121081b1a9bce7cbfe;p=pandora-kernel.git iwlwifi: mvm: always reconfigure last MCC on init Currently the last found MCC is reconfigured only in the recovery flow. But it should always be used when available, for the ifdown/up or RF-Kill/CT-Kill scenarios. While at it, fix a couple of bugs in the init-from-last-MCC flow. Return an error value when a current MCC is not found. Pass on the regdomain to cfg80211 only if it was changed and don't ignore the return value from the cfg80211-setter function. Signed-off-by: Arik Nemtsov Reviewed-by: Johannes Berg Signed-off-by: Emmanuel Grumbach --- Reading git-diff-tree failed