diff options
author | adrian <adrian@FreeBSD.org> | 2011-07-21 14:25:12 +0000 |
---|---|---|
committer | adrian <adrian@FreeBSD.org> | 2011-07-21 14:25:12 +0000 |
commit | c10dc9213318bcd30fda5822aa6b1b73b9d5437a (patch) | |
tree | 8f2ba5d25e176aa32519d24a3958962982acd2d2 /sys/dev/ath/if_ath.c | |
parent | d54d0f83bc4c56dc528afad78cb1f337073490e9 (diff) | |
download | FreeBSD-src-c10dc9213318bcd30fda5822aa6b1b73b9d5437a.zip FreeBSD-src-c10dc9213318bcd30fda5822aa6b1b73b9d5437a.tar.gz |
This links in the ath dfs ioctl into the driver and defines the
ioctl interface for DFS modules to use.
Since there's no open source dfs code yet, this doesn't introduce any
operational changes.
Approved by: re (kib)
Diffstat (limited to 'sys/dev/ath/if_ath.c')
-rw-r--r-- | sys/dev/ath/if_ath.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/dev/ath/if_ath.c b/sys/dev/ath/if_ath.c index 35592d9..ec54079 100644 --- a/sys/dev/ath/if_ath.c +++ b/sys/dev/ath/if_ath.c @@ -5344,6 +5344,9 @@ ath_ioctl(struct ifnet *ifp, u_long cmd, caddr_t data) case SIOCGATHDIAG: error = ath_ioctl_diag(sc, (struct ath_diag *) ifr); break; + case SIOCGATHPHYERR: + error = ath_ioctl_phyerr(sc,(struct ath_diag*) ifr); + break; #endif case SIOCGIFADDR: error = ether_ioctl(ifp, cmd, data); |