Tip: You can then merge these driver modifications into the Linux source tree for your distribution-provided kernel version, in order to improve compatibility. On Ubuntu, run:
UBUNTU_KERNEL_TAG=Ubuntu-3.13.0-32.57
. /etc/lsb-release git clone git://kernel.ubuntu.com/ubuntu/ubuntu-${DISTRIB_CODENAME}.git git checkout ${UBUNTU_KERNEL_TAG}
cd ubuntu-trusty
make -C /lib/modules/$(uname -r)/build M=$(pwd)/drivers/net/wireless/ath/ath9k modules
cd /lib/modules/3.13.0-32-generic/kernel/drivers/net/wireless/ath/ath9k for file in ./.ko; do sudo mv $file $file.orig; done cp ubuntu-trusty/drivers/net/wireless/ath/ath9k/.ko . sudo modprobe *.ko sudo depmod sudo reboot
modinfo ath9k_hw