kernel/wlan: Fix up the MAC address printing and add back __printflike()s.
authorSascha Wildner <saw@online.de>
Thu, 19 Feb 2015 02:18:11 +0000 (03:18 +0100)
committerSascha Wildner <saw@online.de>
Thu, 19 Feb 2015 02:36:02 +0000 (03:36 +0100)
commitf92fae3f378c099365aa8c389f681ba1ebba5e74
tree3b338f227f10576d8b15f88cedf5bb2b6ddfeb97
parentb5523eac31a95e6876e05e20e6fe836ec3a45202
kernel/wlan: Fix up the MAC address printing and add back __printflike()s.

In the recent wlan, iwn and ath upgrades, porting this properly was hacked
around by removing the __printflike()s because DragonFly has no support
for %D (neither in GCC nor in kprintf()). This is wrong because even
though it silences the warning, it will still not print MAC addresses
correctly. So bring all that back.

Also update the wlan's README.DRAGONFLY with some information about how
to port this properly.
16 files changed:
sys/ddb/ddb.h
sys/dev/netif/ath/ath/if_ath.c
sys/dev/netif/ath/ath/if_ath_debug.h
sys/dev/netif/ath/ath/if_ath_tx.c
sys/dev/netif/ath/ath/if_athvar.h
sys/dev/netif/ath/ath_rate/sample/sample.c
sys/dev/netif/iwn/if_iwn.c
sys/dev/netif/iwn/if_iwnvar.h
sys/netproto/802_11/README.DRAGONFLY
sys/netproto/802_11/ieee80211_var.h
sys/netproto/802_11/wlan/ieee80211_ddb.c
sys/netproto/802_11/wlan/ieee80211_hwmp.c
sys/netproto/802_11/wlan/ieee80211_mesh.c
sys/netproto/802_11/wlan/ieee80211_output.c
sys/netproto/802_11/wlan/ieee80211_scan.c
sys/netproto/802_11/wlan/ieee80211_sta.c