wl1251: fix event handling mechanism
authorGrazvydas Ignotas <notasas@gmail.com>
Tue, 17 Aug 2010 19:46:53 +0000 (22:46 +0300)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 24 Aug 2010 20:32:03 +0000 (16:32 -0400)
commitd41776fad4c6601c1711d4e454291efd6687addb
tree213e1c1576cdcfcda25bd352e6cabec200828f38
parent8d5ad08525f1a8e0484d125ba155dbd3c3282ab8
wl1251: fix event handling mechanism

In case both A and B events occured simultaneously, current code
would only process A and clear both interrupts. Make it process both
events instead.

Based on wl1271 patches by Juuso Oikarinen:
1fd2794f36913992798184c464fe8f85753b13e0
13f2dc52c69bcca074cd12d4806953b2af45c386

Signed-off-by: Grazvydas Ignotas <notasas@gmail.com>
Acked-by: Kalle Valo <kvalo@adurom.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/wl12xx/wl1251_main.c