ath9k: Fix QuickDrop usage
authorSujith Manoharan <c_manoha@qca.qualcomm.com>
Tue, 26 Nov 2013 01:51:08 +0000 (07:21 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 20 Dec 2013 15:48:58 +0000 (07:48 -0800)
commit4edfe34cca9f16624ff91df203c2322ed20279e2
tree3d4589d87402524b77fe7b3eb42fba30ae99890d
parentd3b9c9ba488cdbedba8dd4b93eebb85153466965
ath9k: Fix QuickDrop usage

commit 93c1cfbe598f72cfa7be49e4a7d2a1d482e15119 upstream.

Bit 5 in the miscConfiguration field of the base EEPROM
header denotes whether QuickDrop is enabled or not. Fix
the incorrect usage of BIT(1) and also make sure that
this is done only for the required chips.

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