mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
net80211: ieee80211_dump_node() cosmetics
Printing %p does not need the 0x prefix and while here mark the ieee80211_node_table argument unused given we do not need it in the current incarnation of the function. Sponsored by: The FreeBSD Foundation MFC after: 3 days
This commit is contained in:
parent
e7abe200c2
commit
c3db9d4a14
1 changed files with 3 additions and 2 deletions
|
|
@ -2619,9 +2619,10 @@ ieee80211_iterate_nodes(struct ieee80211_node_table *nt,
|
|||
}
|
||||
|
||||
void
|
||||
ieee80211_dump_node(struct ieee80211_node_table *nt, struct ieee80211_node *ni)
|
||||
ieee80211_dump_node(struct ieee80211_node_table *nt __unused,
|
||||
struct ieee80211_node *ni)
|
||||
{
|
||||
printf("0x%p: mac %s refcnt %d\n", ni,
|
||||
printf("%p: mac %s refcnt %d\n", ni,
|
||||
ether_sprintf(ni->ni_macaddr), ieee80211_node_refcnt(ni));
|
||||
printf("\tauthmode %u flags 0x%x\n",
|
||||
ni->ni_authmode, ni->ni_flags);
|
||||
|
|
|
|||
Loading…
Reference in a new issue