[BUGFIX] iwlwifi: mvm: don't init regulatory after failure

If the firmware init stage fails to run, mvm->nvm_data will not be
assigned. Therefore, iwl_mvm_is_lar_supported() crashes. Don't try
to continue the flow if an error happens here.

type=bugfix
ticket=none
fixes=I7d8d5c895bc467efbf81ea055dde366ea01cced1

Change-Id: I4baf45a296cff3694065745a63cc6a5d3461e054
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Reviewed-on: https://git-amr-3.devtools.intel.com/gerrit/316030
automatic-review: ec ger unix iil jenkins <EC.GER.UNIX.IIL.JENKINS@INTEL.COM>
Tested-by: ec ger unix iil jenkins <EC.GER.UNIX.IIL.JENKINS@INTEL.COM>
Reviewed-by: Luciano Coelho <luciano.coelho@intel.com>
x-iwlwifi-stack-dev: d676df5f27cb36d10d5a32b34f1ce7eadcb2c6fa
2 files changed