Author: rmilecki
Date: 2016-05-30 08:29:43 +0200 (Mon, 30 May 2016)
New Revision: 49378
Modified:
branches/chaos_calmer/package/kernel/mac80211/patches/862-brcmfmac-workaround-bug-with-some-inconsistent-BSSes.patch
Log:
mac80211: brcmfmac: return -ENFILE if interface exists
This makes brcmfmac compatible with mac80211 which uses dev_alloc_name
(and so returns -ENFILE on error).
Signed-off-by: Rafa{U+0142} Mi{U+0142}ecki <[email protected]>
Modified:
branches/chaos_calmer/package/kernel/mac80211/patches/862-brcmfmac-workaround-bug-with-some-inconsistent-BSSes.patch
===================================================================
---
branches/chaos_calmer/package/kernel/mac80211/patches/862-brcmfmac-workaround-bug-with-some-inconsistent-BSSes.patch
2016-05-12 05:32:33 UTC (rev 49377)
+++
branches/chaos_calmer/package/kernel/mac80211/patches/862-brcmfmac-workaround-bug-with-some-inconsistent-BSSes.patch
2016-05-30 06:29:43 UTC (rev 49378)
@@ -42,7 +42,7 @@
+ dev = dev_get_by_name(&init_net, name);
+ if (dev) {
+ dev_put(dev);
-+ return ERR_PTR(-EEXIST);
++ return ERR_PTR(-ENFILE);
+ }
+
brcmf_dbg(TRACE, "enter: %s type %d\n", name, type);
_______________________________________________
openwrt-commits mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-commits