Hi,
I noticed that my iwm(4) device does not send RTM_IFINFO messages
when the lladdr is changed with ifconfig.
For other interface types ifioctl() handles the lladdr change in
if_setlladdr() and ifnewlladdr().
I attached a diff that seems to fix this.
Is there a specific reason IFT_IEEE80211 is not in the list of
if_types handled in ifioctl()?
Index: if.c
===================================================================
RCS file: /cvs/src/sys/net/if.c,v
retrieving revision 1.600
diff -u -p -r1.600 if.c
--- if.c 24 Jan 2020 05:14:51 -0000 1.600
+++ if.c 24 Feb 2020 18:50:28 -0000
@@ -2189,6 +2189,7 @@ ifioctl(struct socket *so, u_long cmd, c
case IFT_CARP:
case IFT_XETHER:
case IFT_ISO88025:
+ case IFT_IEEE80211:
error = (*ifp->if_ioctl)(ifp, cmd, data);
if (error == ENOTTY)
error = 0;