wl1251: fix event handling mechanism
authorGrazvydas Ignotas <notasas@gmail.com>
Mon, 16 Aug 2010 14:44:46 +0000 (17:44 +0300)
committerGrazvydas Ignotas <notasas@gmail.com>
Tue, 17 Aug 2010 14:37:25 +0000 (17:37 +0300)
commit061ef325b4be353c35779f479c4a8187acc6d124
tree99485c2771b67999290a79274dd4185c356f44d3
parentfd70967390baaceed701c512a0ba4fdb7a1c5adb
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>
drivers/net/wireless/wl12xx/wl1251_main.c