commit | 46b0cc9ffce356fbcb2135219a3ed8500714a9e4 | [log] [tgz] |
---|---|---|
author | Ido Yariv <ido@wizery.com> | Wed Jan 11 09:42:41 2012 +0200 |
committer | Luciano Coelho <coelho@ti.com> | Wed Feb 15 08:38:28 2012 +0200 |
tree | 3f7af09f3b7ff2380701eeb0764e170903182765 | |
parent | a454969ede024a209e6a755d5f7a928ab81ed00c [diff] |
wl12xx: Fix potential interrupt storm The interrupt threaded handler exits immediately if the driver's state is WL1271_STATE_OFF. As a result, the interrupt status is not read. If the interrupt is level triggered, it will be fired again. Fix this by disabling interrupts before setting the state to OFF. Signed-off-by: Ido Yariv <ido@wizery.com> Signed-off-by: Luciano Coelho <coelho@ti.com>