| .. | .. |
|---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-only |
|---|
| 1 | 2 | /* |
|---|
| 2 | 3 | * Host AP (software wireless LAN access point) driver for |
|---|
| 3 | 4 | * Intersil Prism2/2.5/3 - hostap.o module, common routines |
|---|
| .. | .. |
|---|
| 5 | 6 | * Copyright (c) 2001-2002, SSH Communications Security Corp and Jouni Malinen |
|---|
| 6 | 7 | * <j@w1.fi> |
|---|
| 7 | 8 | * 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. |
|---|
| 13 | 9 | */ |
|---|
| 14 | 10 | |
|---|
| 15 | 11 | #include <linux/module.h> |
|---|
| .. | .. |
|---|
| 690 | 686 | /* Master radio interface is needed for all operation, so open |
|---|
| 691 | 687 | * it automatically when any virtual net_device is opened. */ |
|---|
| 692 | 688 | local->master_dev_auto_open = 1; |
|---|
| 693 | | - dev_open(local->dev); |
|---|
| 689 | + dev_open(local->dev, NULL); |
|---|
| 694 | 690 | } |
|---|
| 695 | 691 | |
|---|
| 696 | 692 | netif_device_attach(dev); |
|---|
| .. | .. |
|---|
| 765 | 761 | } |
|---|
| 766 | 762 | |
|---|
| 767 | 763 | |
|---|
| 768 | | -static void prism2_tx_timeout(struct net_device *dev) |
|---|
| 764 | +static void prism2_tx_timeout(struct net_device *dev, unsigned int txqueue) |
|---|
| 769 | 765 | { |
|---|
| 770 | 766 | struct hostap_interface *iface; |
|---|
| 771 | 767 | local_info_t *local; |
|---|