summaryrefslogtreecommitdiffstats
path: root/drivers/net/wimax/i2400m/i2400m.h
diff options
context:
space:
mode:
authorInaky Perez-Gonzalez2009-09-17 01:30:39 +0200
committerInaky Perez-Gonzalez2009-10-19 08:56:05 +0200
commitac53aed9349242095a780f57ac0c995fb170c950 (patch)
tree2962df61c6bdee9f184bb278a8b25b4c5a6d219d /drivers/net/wimax/i2400m/i2400m.h
parentwimax/i2400m: don't overwrite error codes when failing to load firmware (diff)
downloadkernel-qcow2-linux-ac53aed9349242095a780f57ac0c995fb170c950.tar.gz
kernel-qcow2-linux-ac53aed9349242095a780f57ac0c995fb170c950.tar.xz
kernel-qcow2-linux-ac53aed9349242095a780f57ac0c995fb170c950.zip
wimax/i2400m: on device stop, clean up pending wake & TX work
When the i2400m device needs to wake up an idle WiMAX connection, it schedules a workqueue job to do it. Currently, only when the network stack called the _stop() method this work struct was being cancelled. This has to be done every time the device is stopped. So add a call in i2400m_dev_stop() to take care of such cleanup, which is now wrapped in i2400m_net_wake_stop(). Signed-off-by: Inaky Perez-Gonzalez <inaky@linux.intel.com>
Diffstat (limited to 'drivers/net/wimax/i2400m/i2400m.h')
-rw-r--r--drivers/net/wimax/i2400m/i2400m.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/wimax/i2400m/i2400m.h b/drivers/net/wimax/i2400m/i2400m.h
index 916b1d319299..303eb78bce32 100644
--- a/drivers/net/wimax/i2400m/i2400m.h
+++ b/drivers/net/wimax/i2400m/i2400m.h
@@ -691,6 +691,7 @@ extern void i2400m_net_rx(struct i2400m *, struct sk_buff *, unsigned,
const void *, int);
extern void i2400m_net_erx(struct i2400m *, struct sk_buff *,
enum i2400m_cs);
+extern void i2400m_net_wake_stop(struct i2400m *);
enum i2400m_pt;
extern int i2400m_tx(struct i2400m *, const void *, size_t, enum i2400m_pt);