Ath5k: mask out unneeded interrupts
authorJiri Slaby <jirislaby@gmail.com>
Wed, 23 Jul 2008 11:17:34 +0000 (13:17 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 1 Aug 2008 19:31:33 +0000 (15:31 -0400)
commitdc1968e7b7862bcd2d358c1be6119c011992bdd2
treebd61fddcda41e96a4a8b4b624a68385677569be4
parent96185664f10e79d038c084305d3cacff9b52204f
Ath5k: mask out unneeded interrupts

Mask out previously demanded interrupt flags because we set
new ones. Don't allow mixing them after switch from sta to
ibss and vice versa.

Signed-off-by: Jiri Slaby <jirislaby@gmail.com>
Cc: Nick Kossifidis <mickflemm@gmail.com>
Cc: Luis R. Rodriguez <mcgrof@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath5k/base.c