]> git.openfabrics.org - ~emulex/infiniband.git/commit
rtl8180: fix enabled interrupt mask for rtl8187se
authorAndrea Merello <andrea.merello@gmail.com>
Fri, 4 Apr 2014 16:21:14 +0000 (18:21 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 22 Apr 2014 19:06:27 +0000 (15:06 -0400)
commit1c3fb9b8f80b4e5c7d4e1907f91f4459752929e9
treea2c99e3c724ae67f7968263f6a746a23f3ae5f71
parent222aaffe120b2a267dd1d553a6fdaa1dc312791f
rtl8180: fix enabled interrupt mask for rtl8187se

When preparing the bitfield to write to HW register, the high-priority
queue error interrupt bit is set two times, and the beacon queue
TX-OK interrupt is not enabled.

Currently this have no functional impact because the high-priority
queue is not used at all, and the beacon queue is not used yet.

This patch removes high-priority queue bits and it adds the
beacon queue missing bit.
It removes also the management queue bits because it is not used.

This was found by static code analyzer.

Reported-by: Fengguang Wu <fengguang.wu@intel.com>
Reported-by: Julia Lawall <julia.lawall@lip6.fr>
Signed-off-by: Andrea Merello <andrea.merello@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/rtl818x/rtl8180/dev.c