Skip to content
Commit e2821011 authored by Johannes Berg's avatar Johannes Berg
Browse files

iwlwifi: mvm: sanity check context in iwl_mvm_phy_ctxt_unref()



In some botched (!) restart scenarios we seem to get here with
a NULL PHY context, so warn and exit instead of crashing.

Reported-by: default avatarOmer Kremer <omerx.kremer@intel.com>
Reviewed-by: default avatarIlan Peer <ilan.peer@intel.com>
Reviewed-by: default avatarEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Signed-off-by: default avatarJohannes Berg <johannes.berg@intel.com>
parent afc66bb7
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment