hc
2024-05-10 23fa18eaa71266feff7ba8d83022d9e1cc83c65a
kernel/drivers/net/wireless/intersil/hostap/hostap_main.c
....@@ -1,3 +1,4 @@
1
+// SPDX-License-Identifier: GPL-2.0-only
12 /*
23 * Host AP (software wireless LAN access point) driver for
34 * Intersil Prism2/2.5/3 - hostap.o module, common routines
....@@ -5,11 +6,6 @@
56 * Copyright (c) 2001-2002, SSH Communications Security Corp and Jouni Malinen
67 * <j@w1.fi>
78 * Copyright (c) 2002-2005, Jouni Malinen <j@w1.fi>
8
- *
9
- * This program is free software; you can redistribute it and/or modify
10
- * it under the terms of the GNU General Public License version 2 as
11
- * published by the Free Software Foundation. See README and COPYING for
12
- * more details.
139 */
1410
1511 #include <linux/module.h>
....@@ -690,7 +686,7 @@
690686 /* Master radio interface is needed for all operation, so open
691687 * it automatically when any virtual net_device is opened. */
692688 local->master_dev_auto_open = 1;
693
- dev_open(local->dev);
689
+ dev_open(local->dev, NULL);
694690 }
695691
696692 netif_device_attach(dev);
....@@ -765,7 +761,7 @@
765761 }
766762
767763
768
-static void prism2_tx_timeout(struct net_device *dev)
764
+static void prism2_tx_timeout(struct net_device *dev, unsigned int txqueue)
769765 {
770766 struct hostap_interface *iface;
771767 local_info_t *local;