]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
ath9k_hw: Use HW cap ATH9K_HW_CAP_ANT_DIV_COMB
authorSujith Manoharan <c_manoha@qualcomm.com>
Sun, 16 Sep 2012 02:35:23 +0000 (08:05 +0530)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 24 Sep 2012 18:59:10 +0000 (14:59 -0400)
commit915154b62bfe09102498b12e323b77dc762e5bec
treecd06067c3d55e47eb77928725531cd20bc15d623
parent5418b0f0ad389989037d5ed700bcd8b67dbdf018
ath9k_hw: Use HW cap ATH9K_HW_CAP_ANT_DIV_COMB

Instead of trying to determine whether antenna diversity is
enabled by parsing eeprom data, use ATH9K_HW_CAP_ANT_DIV_COMB
which is already filled at init time.

Signed-off-by: Sujith Manoharan <c_manoha@qca.qualcomm.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath9k/ar9003_eeprom.c