OSDN Git Service

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:45:09 +0000 (07:45 -0800)
commit464f44b6e46f257d24a560d0103298865ca67173
treea0ef65918f846929a5a938b925964234c411fe6b
parenta07e39486b2d0a6e15e134501f7e38b1bcfac07c
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