[Bug 264238] WiFi stops working after upgrade from 13.0 to 13.1, AR9285 (wpa_supplicant)

From: <bugzilla-noreply_at_freebsd.org>
Date: Thu, 09 Jun 2022 05:48:26 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=264238

Cy Schubert <cy@FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Assignee|cy@FreeBSD.org              |releng@FreeBSD.org

--- Comment #45 from Cy Schubert <cy@FreeBSD.org> ---
(In reply to Jaskie from comment #44)
Excellent! Thank you for verifying this.

I'll ask re@ (by assigning the PR to re@) if they can merge the two patches
from stable/13 into releng/13.1, and publish an errata. This patch didn't quite
make it into releng/13.1.

The two patches fix a multitude of problems in wpa_supplicant and hostapd
because a legitimate zero bytes returned can be confused with an error
resulting in zero bytes returned. pcap_next_ex() solves this for us by
returning the return code separately from the bytes returned whereas
pcap_next() results in a confusing result.

The other alternative would be to use the security/wpa_supplicant port. It
includes the patch.

BTW, you should only need to do a git apply against the patch. Then cd
/usr/src/usr.sbin/wpa. Then make obj; make depend; make includes; make; make
install.

re@, would it be possible to publish an errata for this?

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