net80211: Remove tautological state display

When printing the current state name and the old state numeric value,
both are always the same. Remove the redundant ostate. It is always
the same as iv_state.

Reviewed by:		bz
MFC after:		1 week
Differential Revision:	https://reviews.freebsd.org/D35849
This commit is contained in:
Cy Schubert 2022-07-18 21:10:40 -07:00
parent 790c6b2451
commit 4f158a444e

View File

@ -3426,9 +3426,9 @@ ieee80211_tx_mgt_cb(struct ieee80211_node *ni, void *arg, int status)
*/
if (vap->iv_state == ostate) {
IEEE80211_DPRINTF(vap, IEEE80211_MSG_STATE | IEEE80211_MSG_DEBUG,
"ni %p mode %s state %s ostate %d arg %p status %d\n", ni,
"ni %p mode %s state %s arg %p status %d\n", ni,
ieee80211_opmode_name[vap->iv_opmode],
ieee80211_state_name[vap->iv_state], ostate, arg, status);
ieee80211_state_name[vap->iv_state], arg, status);
callout_reset(&vap->iv_mgtsend,
status == 0 ? IEEE80211_TRANS_WAIT*hz : 0,