summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorJo-Philipp Wich <jo@mein.io>2017-05-14 19:47:07 +0200
committerJo-Philipp Wich <jo@mein.io>2017-05-14 21:43:11 +0200
commit4a033475453b63d0d5ae41489e7c395882567698 (patch)
tree0c21ffdbf099f3ce4df9fcd29c2c25a37b1c11af /include
parent37e7a1734ff4fe8777ff24345dbd6135c188c61a (diff)
downloadmtk-20170518-4a033475453b63d0d5ae41489e7c395882567698.zip
mtk-20170518-4a033475453b63d0d5ae41489e7c395882567698.tar.gz
mtk-20170518-4a033475453b63d0d5ae41489e7c395882567698.tar.bz2
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 8301e613655c2d95fa5430a1a57d92d966fdc70b 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>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions