summaryrefslogtreecommitdiffstats
path: root/drivers/staging/wilc1000/linux_mon.c
diff options
context:
space:
mode:
authorGlen Lee2015-10-29 04:18:44 +0100
committerGreg Kroah-Hartman2015-11-16 05:02:47 +0100
commit829c477fd4811f7f1b90d8d4fa132d66e193689c (patch)
tree7c91ffee1c308c7f8c102dbb51b9eb3546c117d8 /drivers/staging/wilc1000/linux_mon.c
parentstaging: wilc1000: wilc_wlan_txq_remove_from_head: add new argument dev (diff)
downloadkernel-qcow2-linux-829c477fd4811f7f1b90d8d4fa132d66e193689c.tar.gz
kernel-qcow2-linux-829c477fd4811f7f1b90d8d4fa132d66e193689c.tar.xz
kernel-qcow2-linux-829c477fd4811f7f1b90d8d4fa132d66e193689c.zip
staging: wilc1000: wilc_wlan_txq_add_mgmt_pkt: add new argument dev
This patch adds new argument struct net_device *dev and pass argument struct net_device to the function. Signed-off-by: Glen Lee <glen.lee@atmel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/wilc1000/linux_mon.c')
-rw-r--r--drivers/staging/wilc1000/linux_mon.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/wilc1000/linux_mon.c b/drivers/staging/wilc1000/linux_mon.c
index 450af1b77f99..589a11fd977c 100644
--- a/drivers/staging/wilc1000/linux_mon.c
+++ b/drivers/staging/wilc1000/linux_mon.c
@@ -195,7 +195,7 @@ static int mon_mgmt_tx(struct net_device *dev, const u8 *buf, size_t len)
mgmt_tx->size = len;
memcpy(mgmt_tx->buff, buf, len);
- wilc_wlan_txq_add_mgmt_pkt(mgmt_tx, mgmt_tx->buff, mgmt_tx->size,
+ wilc_wlan_txq_add_mgmt_pkt(dev, mgmt_tx, mgmt_tx->buff, mgmt_tx->size,
mgmt_tx_complete);
netif_wake_queue(dev);