mirror of
https://github.com/opnsense/src.git
synced 2026-06-14 19:20:18 -04:00
iwm: Sync with iwm_run_init_mvm_ucode() with iwlwifi.
Do not configure bluetooth on newer chips, it causes firmware panics. MFC after: 2 weeks Sponsored by: The FreeBSD Foundation
This commit is contained in:
parent
1f0976dc58
commit
c3bfecf3df
1 changed files with 9 additions and 7 deletions
|
|
@ -3002,6 +3002,15 @@ iwm_run_init_mvm_ucode(struct iwm_softc *sc, int justnvm)
|
|||
goto error;
|
||||
}
|
||||
|
||||
if (sc->cfg->device_family < IWM_DEVICE_FAMILY_8000) {
|
||||
ret = iwm_send_bt_init_conf(sc);
|
||||
if (ret) {
|
||||
device_printf(sc->sc_dev,
|
||||
"failed to send bt coex configuration: %d\n", ret);
|
||||
goto error;
|
||||
}
|
||||
}
|
||||
|
||||
if (justnvm) {
|
||||
/* Read nvm */
|
||||
ret = iwm_nvm_init(sc);
|
||||
|
|
@ -3013,13 +3022,6 @@ iwm_run_init_mvm_ucode(struct iwm_softc *sc, int justnvm)
|
|||
goto error;
|
||||
}
|
||||
|
||||
ret = iwm_send_bt_init_conf(sc);
|
||||
if (ret) {
|
||||
device_printf(sc->sc_dev,
|
||||
"failed to send bt coex configuration: %d\n", ret);
|
||||
goto error;
|
||||
}
|
||||
|
||||
/* Send TX valid antennas before triggering calibrations */
|
||||
ret = iwm_send_tx_ant_cfg(sc, iwm_mvm_get_valid_tx_ant(sc));
|
||||
if (ret) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue