idualwifi7260 & iaxwifi200: Do not return but go to the appropriate fail.
This way, we will actually tear down what state got initialized.
This commit is contained in:
parent
22bdb7ba70
commit
561bb7bac5
@ -11029,7 +11029,7 @@ iwx_attach(struct device *parent, struct device *self, void *aux)
|
||||
|
||||
#ifdef __HAIKU__
|
||||
if (iwx_preinit(sc) != 0)
|
||||
return -1;
|
||||
goto fail4;
|
||||
#else
|
||||
/*
|
||||
* We cannot read the MAC address without loading the
|
||||
|
@ -12125,7 +12125,7 @@ iwm_attach(struct device *parent, struct device *self, void *aux)
|
||||
ic->ic_ampdu_tx_stop = iwm_ampdu_tx_stop;
|
||||
#ifdef __HAIKU__
|
||||
if (iwm_preinit(sc) != 0)
|
||||
return -1;
|
||||
goto fail4;
|
||||
#else
|
||||
/*
|
||||
* We cannot read the MAC address without loading the
|
||||
|
Loading…
Reference in New Issue
Block a user