Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 01 Sep 2024 09:48:29 +0000
From:      bugzilla-noreply@freebsd.org
To:        wireless@FreeBSD.org
Subject:   [Bug 247528] rtwn(4) RTL8192EU usb wifi dongle can't connect to AP
Message-ID:  <bug-247528-21060-a66KyLRJWt@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-247528-21060@https.bugs.freebsd.org/bugzilla/>
References:  <bug-247528-21060@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D247528

--- 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] rtw=
n:
Fix RTL8188EU cannot associate in STA mode) affect the same files but inclu=
de
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 =3D=3D 5000)
+       if (ntries =3D=3D 5000) {
+               if (uc !=3D NULL)
+                       uc->uc_write_delay =3D 0;
+       }
                return (ETIMEDOUT);


sys/dev/rtwn/rtl8188e/usb/r88eu_init.c

--=20
You are receiving this mail because:
You are on the CC list for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-247528-21060-a66KyLRJWt>