Eliminate ATH_GET_NETDEV_DEV, it breaks on some CentOS kernels
authorproski <proski@0192ed92-7a03-0410-a25b-9323aeb14dbd>
Fri, 7 Oct 2011 21:30:59 +0000 (21:30 +0000)
committerproski <proski@0192ed92-7a03-0410-a25b-9323aeb14dbd>
Fri, 7 Oct 2011 21:30:59 +0000 (21:30 +0000)
commitafdc1e0da1792c67f9fa8213a6eff8e535405910
tree377ff22143d12032ea1dda4a317191b8b84be091
parentbd86fad8513b639fe491d1df1a2e2ba7391588fc
Eliminate ATH_GET_NETDEV_DEV, it breaks on some CentOS kernels

Instead, use sc->sc_bdev to find the physical device.  sc->sc_bdev is
NULL on AHB and we don't use SET_NETDEV_DEV on AHB anyway, so do it on
PCI only.

git-svn-id: http://madwifi-project.org/svn/madwifi/trunk@4170 0192ed92-7a03-0410-a25b-9323aeb14dbd
ath/if_ath.c
ath/if_athvar.h