iwlwifi: pcie: warn if extern fw_debug buffer failed
Otherwise we have no way to know that the buffer hasn't been allocated. Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
This commit is contained in:
parent
77d96730db
commit
40a76905ad
|
@ -133,7 +133,7 @@ static void iwl_pcie_alloc_fw_monitor(struct iwl_trans *trans)
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!page)
|
if (WARN_ON_ONCE(!page))
|
||||||
return;
|
return;
|
||||||
|
|
||||||
trans_pcie->fw_mon_page = page;
|
trans_pcie->fw_mon_page = page;
|
||||||
|
|
Loading…
Reference in New Issue