[Bug 247528] rtwn(4) RTL8192EU usb wifi dongle can't connect to AP
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 01 Sep 2024 09:48:29 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=247528 --- Comment #49 from Peter Jeremy <peterj@FreeBSD.org> --- Thanks for the prompt update cy@ Unfortunately, the patch in attachment 253233 doesn't apply cleanly. The attachment comprises 3 "emails" and the first (Subject: [PATCH] rtwn: Fix RTL8188EU cannot associate in STA mode) and third (Subject: [PATCH 2/2] rtwn: Fix RTL8188EU cannot associate in STA mode) affect the same files but include different (incompatible) patches to sys/dev/rtwn/rtl8188e/usb/r88eu_init.c I'm uncertain whether the correct version is the one with all the RTWN_LOCK()/UNLOCK() pairs or the other version. In addition the following hunk doesn't look right in either because the "return ETIMEDOUT" has moved outside the "if" statement: @@ -112,7 +120,10 @@ r88eu_power_on(struct rtwn_softc *sc) break; rtwn_delay(sc, 10); } - if (ntries == 5000) + if (ntries == 5000) { + if (uc != NULL) + uc->uc_write_delay = 0; + } return (ETIMEDOUT); sys/dev/rtwn/rtl8188e/usb/r88eu_init.c -- You are receiving this mail because: You are on the CC list for the bug.