OpenCloudOS-Kernel/drivers/net/wireless
Michal Kubecek a69faa0910 wil6210: get rid of begin() and complete() ethtool_ops
The wil6210 driver locks a mutex in begin() ethtool_ops callback and
unlocks it in complete() so that all ethtool requests are serialized. This
is not going to work correctly with netlink interface; e.g. when ioctl
triggers a netlink notification, netlink code would call begin() again
while the mutex taken by ioctl code is still held by the same task.

Let's get rid of the begin() and complete() callbacks and move the mutex
locking into the remaining ethtool_ops handlers except get_drvinfo which
only copies strings that are not changing so that there is no need for
serialization.

Signed-off-by: Michal Kubecek <mkubecek@suse.cz>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2020-01-06 13:54:55 -08:00
..
admtek adm80211: remove set but not used variables 'mem_addr' and 'io_addr' 2019-10-24 08:48:00 +03:00
ath wil6210: get rid of begin() and complete() ethtool_ops 2020-01-06 13:54:55 -08:00
atmel at76c50x-usb: fix endpoint debug message 2019-12-18 21:06:02 +02:00
broadcom brcmfmac: Keep OOB wake-interrupt disabled when it shouldn't be enabled 2019-12-18 21:09:02 +02:00
cisco crypto: skcipher - rename the crypto_blkcipher module and kconfig option 2019-11-01 13:42:47 +08:00
intel Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2019-12-22 15:15:05 -08:00
intersil wireless-drivers-next patches for v5.6 2019-12-20 21:55:00 -08:00
marvell Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2019-12-22 15:15:05 -08:00
mediatek mt76: mt76x0: fix default mac address overwrite 2019-12-02 16:49:05 +02:00
quantenna netdev: pass the stuck queue to the timeout handler 2019-12-12 21:38:57 -08:00
ralink rt2x00usb: Fix a warning message in 'rt2x00usb_watchdog_tx_dma()' 2019-12-18 20:58:48 +02:00
realtek rtlwifi: rtl8192de: use generic rtl_signal_scale_mapping 2019-12-18 21:06:53 +02:00
rsi rsi_91x_usb: fix interface sanity check 2019-12-18 21:06:06 +02:00
st net/wireless: Delete unnecessary checks before the macro call “dev_kfree_skb” 2019-10-15 08:27:02 +03:00
ti MMC core: 2019-11-27 10:03:52 -08:00
zydas wireless-drivers-next patches for v5.6 2019-12-20 21:55:00 -08:00
Kconfig treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
Makefile
mac80211_hwsim.c mac80211_hwsim: use DEFINE_DEBUGFS_ATTRIBUTE to define debugfs fops 2019-11-08 10:17:33 +01:00
mac80211_hwsim.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
ray_cs.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 416 2019-06-05 17:37:15 +02:00
ray_cs.h
rayctl.h
rndis_wlan.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 13 2019-05-21 11:28:45 +02:00
virt_wifi.c virt_wifi: fix use-after-free in virt_wifi_newlink() 2019-11-22 13:36:25 +01:00
wl3501.h
wl3501_cs.c netdev: pass the stuck queue to the timeout handler 2019-12-12 21:38:57 -08:00