Commit [r4171]  Maximize  Restore  History

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.

proski 2011-10-07

changed /madwifi/branches/madwifi-0.9.4/ath/if_ath.c
changed /madwifi/branches/madwifi-0.9.4/ath/if_athvar.h
/madwifi/branches/madwifi-0.9.4/ath/if_ath.c Diff Switch to side-by-side view
Loading...
/madwifi/branches/madwifi-0.9.4/ath/if_athvar.h Diff Switch to side-by-side view
Loading...