mirror of
https://github.com/opnsense/src.git
synced 2026-06-11 01:30:30 -04:00
It's safe to wait for command completion in iwi_config().
MFC after: 5 days
This commit is contained in:
parent
c19b92e968
commit
7e47fb024c
1 changed files with 2 additions and 1 deletions
|
|
@ -486,6 +486,7 @@ iwi_detach(device_t dev)
|
|||
|
||||
if (ifp != NULL)
|
||||
if_free(ifp);
|
||||
|
||||
mtx_destroy(&sc->sc_mtx);
|
||||
|
||||
return 0;
|
||||
|
|
@ -2211,7 +2212,7 @@ iwi_config(struct iwi_softc *sc)
|
|||
}
|
||||
#endif
|
||||
error = iwi_cmd(sc, IWI_CMD_SET_ESSID, ic->ic_des_essid,
|
||||
ic->ic_des_esslen, 1);
|
||||
ic->ic_des_esslen, 0);
|
||||
if (error != 0)
|
||||
return error;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue