]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
[ath] replace the hard-coded magic values in if_athioctl.h with constant defines
authoradrian <adrian@FreeBSD.org>
Tue, 8 Dec 2020 17:25:59 +0000 (17:25 +0000)
committeradrian <adrian@FreeBSD.org>
Tue, 8 Dec 2020 17:25:59 +0000 (17:25 +0000)
commit5a60ffbd9f26a0745b00b33a838a744a15c3726d
treeb805c86eef86ed75aa22e52937a03fd549d6e536
parent7d8c1949890fc8782338036373ada1e1c3377a70
[ath] replace the hard-coded magic values in if_athioctl.h with constant defines

Replace some hard-coded magic values in the ioctl stats struct with
#defines.  I'm going to follow up with some more sanity checking in
the receive path that also use these values so we don't do bad
things if the hardware is (more) confused.
sys/dev/ath/if_athioctl.h