OSDN Git Service

ath9k_hw: fix gentimer callback without overflow handler
authorFelix Fietkau <nbd@openwrt.org>
Fri, 20 Dec 2013 15:18:45 +0000 (16:18 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 3 Jan 2014 20:36:56 +0000 (15:36 -0500)
commita6a172b292a13c44464d9012809f24da41ddbf8a
tree653d8e1b81ac210dba29f9ca4c4e37f7ac249df0
parentf84d1b49c9ef9057defc47137405d1c1b87b19db
ath9k_hw: fix gentimer callback without overflow handler

If a gentimer has both the trigger and the overflow bits set, only
mask out the trigger bit if an overflow handler is present.

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath9k/hw.c