summaryrefslogtreecommitdiffstats
path: root/drivers/staging/wilc1000/wilc_wfi_cfgoperations.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/wilc_wfi_cfgoperations.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/wilc_wfi_cfgoperations.c')
-rw-r--r--drivers/staging/wilc1000/wilc_wfi_cfgoperations.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/staging/wilc1000/wilc_wfi_cfgoperations.c b/drivers/staging/wilc1000/wilc_wfi_cfgoperations.c
index 4de27ef5b6e4..cdcf134c314a 100644
--- a/drivers/staging/wilc1000/wilc_wfi_cfgoperations.c
+++ b/drivers/staging/wilc1000/wilc_wfi_cfgoperations.c
@@ -2337,8 +2337,8 @@ static int mgmt_tx(struct wiphy *wiphy,
jiffies, pstrWFIDrv->p2p_timeout);
}
- wilc_wlan_txq_add_mgmt_pkt(mgmt_tx, mgmt_tx->buff,
- mgmt_tx->size,
+ wilc_wlan_txq_add_mgmt_pkt(wdev->netdev, mgmt_tx,
+ mgmt_tx->buff, mgmt_tx->size,
WILC_WFI_mgmt_tx_complete);
} else {
PRINT_D(GENERIC_DBG, "This function transmits only management frames\n");