mirror of https://gitee.com/openkylin/linux.git
iwlagn: waterfall the bus level if prepare card failed
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com> Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@intel.com>
This commit is contained in:
parent
ea3aa93055
commit
bcd4fe2f9e
|
@ -3540,6 +3540,7 @@ int iwl_probe(void *bus_specific, struct iwl_bus_ops *bus_ops,
|
|||
priv->cfg->name, hw_rev);
|
||||
|
||||
if (iwl_prepare_card_hw(priv)) {
|
||||
err = -EIO;
|
||||
IWL_WARN(priv, "Failed, HW not ready\n");
|
||||
goto out_free_traffic_mem;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue