openwrt/package
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
..
base-files base-files: use restart if no reload hook for service 2017-12-13 15:02:09 +01:00
boot grub2: update to 2.02~rc2 2017-12-13 15:02:53 +01:00
devel binutils: fix build with host gcc < 4.9 2017-05-24 18:05:18 +02:00
firmware ath10k-firmware: do not select the qca988x by default 2017-05-27 14:22:16 +02:00
kernel mac80211: gracefully handle preexisting VIF 2017-12-13 15:29:01 +01:00
libs lzo: Update to 2.10 2017-12-13 14:47:43 +01:00
network hostapd: fix reload frequency change patch 2017-12-13 15:23:59 +01:00
system procd.sh: use parameterized respawn values 2017-12-13 14:39:02 +01:00
utils busybox: fix installation of cron and ntpd scripts in the default config 2017-12-13 15:01:04 +01:00
Makefile build: fix triggering opkg/host compilation 2017-04-09 15:42:20 +02:00