summaryrefslogtreecommitdiffstats
path: root/drivers/staging/vt6655/device.h
diff options
context:
space:
mode:
authorMalcolm Priestley <tvboxspy@gmail.com>2015-05-31 10:35:24 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-06-01 06:24:57 +0900
commitff1ce1a81e6eec82c224e33d3d23ab3f0002547e (patch)
tree2ae61142d5d2f442c17fc7923aadff5756560f7c /drivers/staging/vt6655/device.h
parentda74dbac164863685016c3a4ee06cb9db89a6f28 (diff)
downloadlinux-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.h2
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;
};