]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
ath9k: fix SC_OP_INVALID test in ath9k_tx99_init()
authorDan Carpenter <dan.carpenter@oracle.com>
Thu, 14 Nov 2013 10:01:18 +0000 (15:31 +0530)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 2 Dec 2013 19:24:57 +0000 (14:24 -0500)
commit26f2a64abdeb44e488e2334d28a380a3ed5a504d
tree96bc20c56a214b5cb0ff2e87dad80f9fc184cb78
parent966fb5ec4246455ac82fc13f713c36636175a2f9
ath9k: fix SC_OP_INVALID test in ath9k_tx99_init()

SC_OP_INVALID is zero so the test is always false.  We're supposed to be
testing the lowest bit instead.

Fixes: 89f927af7f33 ('ath9k: add TX99 support')
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath9k/tx99.c