openwrt/package/kernel
Jo-Philipp Wich f0a493160c mac80211: gracefully handle preexisting VIF
Gracefully handle cases where the to-be-created wireless interface already
exists on the system which might commonly happen with non-multi-SSID capable
wireless drivers.

This fixes commit 8301e61365 which caused
previously ignored "Too many open files in system (-23)" errors to fail the
wireless setup procedure.

With the updated approach we'll still try recreating the vif after one
second if the first attempt to do so failed with ENFILE but we will now
consider the operation successfull if a second attempt still yields ENFILE
with the requested ifname already existing on the system.

Fixes FS#664, FS#704.

Suggested-by: Vittorio Gambaletta <openwrt@vittgam.net>
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit 4a03347545)
2017-12-13 15:29:01 +01:00
..
acx-mac80211 acx-mac80211: fix scan API error that could lead to a crash 2017-02-24 15:03:48 +01:00
ar7-atm treewide: clean up download hashes 2016-12-16 22:39:22 +01:00
ath10k-ct ath10k-ct: depend on kmod-hwmon-core, it gets used when CONFIG_THERMAL is set 2017-02-24 12:22:29 +01:00
avila-wdt kernel/avila-wdt: drop Build/Prepare rule in favor of default one 2016-10-15 11:36:52 +02:00
brcm2708-gpu-fw brcm2708-gpu-fw: update to latest version 2017-03-08 09:28:19 +01:00
broadcom-wl treewide: clean up download hashes 2016-12-16 22:39:22 +01:00
button-hotplug kernel/button-hotplug: drop Build/Prepare rule in favor of default one 2016-10-15 11:36:52 +02:00
gpio-button-hotplug gpio-button-hotplug: add more buttons 2016-11-27 15:34:23 +01:00
gpio-nct5104d gpio-nct5104d: Add nct5104d driver package 2017-03-01 20:37:35 +01:00
hwmon-gsc kernel: move the gateworks system controller driver to an out-of-tree package 2017-01-10 12:10:20 +01:00
i2c-gpio-custom kernel/i2c-gpio-custom: drop Build/Prepare rule in favor of default one 2016-10-15 11:36:52 +02:00
kmod-sched-cake kmod-sched-cake: Bump to latest version 2017-02-01 16:06:24 +01:00
lantiq ltq-vdsl-mei: revert disable optimized firmware download 2017-09-30 20:37:33 +02:00
leds-apu2 leds-apu2: Add PC Engines APU2 LED driver 2017-03-01 20:37:35 +01:00
linux kernel: allow selecting RTC drivers on targets without explicit RTC support 2017-12-13 15:20:38 +01:00
mac80211 mac80211: gracefully handle preexisting VIF 2017-12-13 15:29:01 +01:00
mt76 mt76: update to the latest version 2017-12-04 10:52:52 +01:00
mwlwifi mwlwifi: update to version 10.3.4.0 / 2017-06-06 2017-06-08 19:57:31 +02:00
om-watchdog om-watchdog: add support for Teltonika RUT5xx (ramips) 2017-05-15 22:55:54 +02:00
rotary-gpio-custom kernel/rotary-gpio-custom: drop Build/Prepare rule in favor of default one 2016-10-15 11:36:53 +02:00
rtc-rv5c386a rtc-rv5c386a: fix include path for bcm47xx_nvram.h 2016-11-30 12:47:25 +01:00
spi-gpio-custom kernel/spi-gpio-custom: drop Build/Prepare rule in favor of default one 2016-10-15 11:36:53 +02:00
trelay kernel/trelay: drop Build/Prepare rule in favor of default one 2016-10-15 11:36:53 +02:00
w1-gpio-custom kernel/w1-gpio-custom: drop Build/Prepare rule in favor of default one 2016-10-15 11:36:53 +02:00
wrt55agv2-spidevs kernel/wrt55agv2-spidevs: drop Build/Prepare rule in favor of default one 2016-10-15 11:36:53 +02:00