aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wimax/i2400m/i2400m.h
diff options
context:
space:
mode:
authorInaky Perez-Gonzalez <inaky@linux.intel.com>2009-09-16 19:30:39 -0400
committerInaky Perez-Gonzalez <inaky@linux.intel.com>2009-10-19 02:56:05 -0400
commitac53aed9349242095a780f57ac0c995fb170c950 (patch)
tree2962df61c6bdee9f184bb278a8b25b4c5a6d219d /drivers/net/wimax/i2400m/i2400m.h
parentcb5b756f746b77c5323ae413a41e9a40ea33c453 (diff)
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,
691 const void *, int); 691 const void *, int);
692extern void i2400m_net_erx(struct i2400m *, struct sk_buff *, 692extern void i2400m_net_erx(struct i2400m *, struct sk_buff *,
693 enum i2400m_cs); 693 enum i2400m_cs);
694extern void i2400m_net_wake_stop(struct i2400m *);
694enum i2400m_pt; 695enum i2400m_pt;
695extern int i2400m_tx(struct i2400m *, const void *, size_t, enum i2400m_pt); 696extern int i2400m_tx(struct i2400m *, const void *, size_t, enum i2400m_pt);
696 697