[iwm] Set command code for PHY_DB as well.

Obtained from:	dragonflybsd.git 58318c956a74382d1286ccabaf767012fdcfe1a2
This commit is contained in:
Adrian Chadd 2017-06-04 21:13:13 +00:00
parent eecff6a7e0
commit 51382483c4
3 changed files with 3 additions and 3 deletions

View File

@ -5370,7 +5370,7 @@ iwm_handle_rxb(struct iwm_softc *sc, struct mbuf *m)
break;
/* ignore */
case 0x6c: /* IWM_PHY_DB_CMD, no idea why it's not in fw-api.h */
case IWM_PHY_DB_CMD:
break;
case IWM_INIT_COMPLETE_NOTIF:

View File

@ -195,7 +195,7 @@ enum iwm_phy_db_section_type {
IWM_PHY_DB_MAX
};
#define PHY_DB_CMD 0x6c /* TEMP API - The actual is 0x8c */
#define PHY_DB_CMD 0x6c
/*
* phy db - configure operational ucode

View File

@ -1806,7 +1806,7 @@ enum {
/* Phy */
IWM_PHY_CONFIGURATION_CMD = 0x6a,
IWM_CALIB_RES_NOTIF_PHY_DB = 0x6b,
/* IWM_PHY_DB_CMD = 0x6c, */
IWM_PHY_DB_CMD = 0x6c,
/* Power - legacy power table command */
IWM_POWER_TABLE_CMD = 0x77,