[FS#664] Netgear R8000 Wifi broke with commit 8301e613655c2d95fa5430a1a57d92d966fdc70b
LEDE Bugs
lede-bugs at lists.infradead.org
Sat May 6 01:01:49 PDT 2017
The following task has a new comment added:
FS#664 - Netgear R8000 Wifi broke with commit 8301e613655c2d95fa5430a1a57d92d966fdc70b
User who did this - Vittorio Gambaletta (VittGam) (VittGam)
----------
Hello,
I'm the author of that commit.
Both of the reported hardware are based on Broadcom platform. I'd guess Broadcom cards still do not support virtual wireless interfaces...
Please try applying the following patch to your tree.
--- a/package/kernel/mac80211/files/lib/netifd/wireless/mac80211.sh
+++ b/package/kernel/mac80211/files/lib/netifd/wireless/mac80211.sh
@@ -429,6 +429,12 @@
rc="$?"
}
+ [ "$rc" = 233 ] && {
+ # Device might not support virtual interfaces, so the interface never got deleted in the first place.
+ # Check if the interface already exists, and avoid failing in this case.
+ ip link show dev "$ifname" >/dev/null 2>/dev/null && rc=0
+ }
+
[ "$rc" != 0 ] && wireless_setup_failed INTERFACE_CREATION_FAILED
return $rc
}
Cheers,
Vittorio
----------
More information can be found at the following URL:
https://bugs.lede-project.org/index.php?do=details&task_id=664#comment2573
More information about the lede-bugs
mailing list