mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-11-27 03:11:52 +01:00
net80211: adjust a printf to toeee80211_note
Throughout net80211 there are multiple ways to log (debugging) information. Start to clenaup one as I kept hitting it to harmonize the output. The more we get away from printfs into either wrapper functions or macros the more likely we can use holistic systematic tracing in the future. Sponsored by: The FreeBSD Foundation MFC after: 3 days
This commit is contained in:
parent
04efa18f83
commit
2e59c9c7f0
@ -1057,7 +1057,7 @@ ieee80211_mgmt_output(struct ieee80211_node *ni, struct mbuf *m, int type,
|
||||
/* avoid printing too many frames */
|
||||
if ((ieee80211_msg_debug(vap) && doprint(vap, type)) ||
|
||||
ieee80211_msg_dumppkts(vap)) {
|
||||
printf("[%s] send %s on channel %u\n",
|
||||
ieee80211_note(vap, "[%s] send %s on channel %u\n",
|
||||
ether_sprintf(wh->i_addr1),
|
||||
ieee80211_mgt_subtype_name(type),
|
||||
ieee80211_chan2ieee(ic, ic->ic_curchan));
|
||||
|
Loading…
Reference in New Issue
Block a user