mirror of
https://anongit.gentoo.org/git/repo/gentoo.git
synced 2025-12-18 16:08:17 +00:00
Handle new header name in kernels >=6.12, handle 6.13 lib80211 code merge into libiw and fix pointer mismatch compiler error for 6.14 [flow: adjust commit message] Closes: https://bugs.gentoo.org/947928 Closes: https://bugs.gentoo.org/948947 Closes: https://github.com/gentoo/gentoo/pull/40391 Signed-off-by: Sam Petch <111785134+spetch0x5F@users.noreply.github.com> Signed-off-by: Florian Schmaus <flow@gentoo.org>
14 lines
420 B
Diff
14 lines
420 B
Diff
--- a/src/wl/sys/wl_cfg80211_hybrid.c
|
|
+++ b/src/wl/sys/wl_cfg80211_hybrid.c
|
|
@@ -1444,11 +1444,10 @@
|
|
s32 rate;
|
|
s32 err = 0;
|
|
|
|
if (memcmp(mac, wl->profile->bssid, ETHER_ADDR_LEN)) {
|
|
WL_ERR(("Wrong Mac address, mac = %pM profile =%pM\n", mac, wl->profile->bssid));
|
|
- return -ENOENT;
|
|
}
|
|
|
|
err = wl_dev_ioctl(dev, WLC_GET_RATE, &rate, sizeof(rate));
|
|
if (err) {
|
|
WL_DBG(("Could not get rate (%d)\n", err));
|