]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
[ath] replace the hard-coded magic values in if_athioctl.h with constant defines
authorAdrian Chadd <adrian@FreeBSD.org>
Tue, 8 Dec 2020 17:25:59 +0000 (17:25 +0000)
committerAdrian Chadd <adrian@FreeBSD.org>
Tue, 8 Dec 2020 17:25:59 +0000 (17:25 +0000)
commit2511069a3f78bfa126b2a32eaf6c2589bb57aa61
treeb805c86eef86ed75aa22e52937a03fd549d6e536
parente1074ed6a08033ee571b4bedb3ffe6049a4a7361
[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