ref: 232db193b4cab8e179037fc0c7178e5b5e2a6429
parent: 9607b1cf15470e47a8efd2c8f141b2c4fc3ce14e
author: cinap_lenrek <cinap_lenrek@felloff.net>
date: Wed Dec 6 10:50:09 EST 2023
ether4330: ignore join request while bypassed
--- a/sys/src/9/bcm/ether4330.c
+++ b/sys/src/9/bcm/ether4330.c
@@ -1773,6 +1773,17 @@
uchar *p;
int n;
+ if(ctl->edev->bypass != nil){
+ /*
+ * firmware appears to be sending broadcast frames
+ * with unknown ethertype 0x0006 when connected,
+ * so avoid joining while the interface is bypassed
+ * to avoid generating traffic.
+ */
+ ctl->status = Disconnected;
+ return;
+ }
+
if(chan != 0)
chan |= 0x2b00; /* 20Mhz channel width */
p = params;
--
⑨