Currently ath does not properly remove sysctl's on detach causing panics when doing "sysctl -a" after unloading the module. This patch fixes the issue: http://leaf.dragonflybsd.org/~hofmann/ath_sysctl_detach.diff