diff options
author | Malcolm Priestley <tvboxspy@gmail.com> | 2015-05-31 10:35:24 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-06-01 06:24:57 +0900 |
commit | ff1ce1a81e6eec82c224e33d3d23ab3f0002547e (patch) | |
tree | 2ae61142d5d2f442c17fc7923aadff5756560f7c /drivers/staging/vt6655/device.h | |
parent | da74dbac164863685016c3a4ee06cb9db89a6f28 (diff) | |
download | linux-ff1ce1a81e6eec82c224e33d3d23ab3f0002547e.tar.bz2 |
staging: vt6655: use workqueue for interrupt handling
Introduce vnt_interrupt to handle interrupt and use workqueue
to queue and queue on vif.
Convert device_intr to void call vnt_interrupt_process
from vnt_interrupt_work providing vif is valid.
This removes troublesome heavy code from the interupt handler and
allows to remove atomic from other areas of driver.
Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/vt6655/device.h')
-rw-r--r-- | drivers/staging/vt6655/device.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/staging/vt6655/device.h b/drivers/staging/vt6655/device.h index e9c4bf31a85a..b928c2a42e75 100644 --- a/drivers/staging/vt6655/device.h +++ b/drivers/staging/vt6655/device.h @@ -405,6 +405,8 @@ struct vnt_private { unsigned short wBeaconInterval; + struct work_struct interrupt_work; + struct ieee80211_low_level_stats low_stats; }; |