ar9170: use bitop macros for tx filter flags
authorChristian Lamparter <chunkeey@web.de>
Sat, 23 May 2009 18:28:21 +0000 (20:28 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 3 Jun 2009 18:05:13 +0000 (14:05 -0400)
commit864cc02e7c0ed9a83be0c35c05df1941abcc792d
treea8480f206cd300447c1572d273285478737e7a2e
parent29ceff5d58afbb2c98bb748057788f02b8db20e5
ar9170: use bitop macros for tx filter flags

This patch fixes a bug in configure_filter's (sub-)routines.
We never really cleared the flags once we updated the hardware state,
so we wasted our resources by applying already active settings.

Signed-off-by: Christian Lamparter <chunkeey@web.de>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ar9170/ar9170.h
drivers/net/wireless/ath/ar9170/main.c