summaryrefslogtreecommitdiff
path: root/aports/broadcom-wl/009-fix_mac_profile_discrepancy.patch
diff options
context:
space:
mode:
authorPÁLI Gábor János <pali.gabor@gmail.com>2022-04-27 23:12:05 +0200
committerPÁLI Gábor János <pali.gabor@gmail.com>2022-04-27 23:12:05 +0200
commite4e108c834bb19a76bb9b4ae0c8c585785fb6675 (patch)
treeebf18c1e3727da6af051358f5d297d24fafba4db /aports/broadcom-wl/009-fix_mac_profile_discrepancy.patch
parent1ecfff829f55162ba6414e34f3110517c3061b90 (diff)
downloadfreebsd-wifibox-alpine-e4e108c834bb19a76bb9b4ae0c8c585785fb6675.zip
Add optional package for the Broadcom STA (`wl`) driver.
Ported from: Arch Linux
Diffstat (limited to 'aports/broadcom-wl/009-fix_mac_profile_discrepancy.patch')
-rw-r--r--aports/broadcom-wl/009-fix_mac_profile_discrepancy.patch10
1 files changed, 10 insertions, 0 deletions
diff --git a/aports/broadcom-wl/009-fix_mac_profile_discrepancy.patch b/aports/broadcom-wl/009-fix_mac_profile_discrepancy.patch
new file mode 100644
index 0000000..022064d
--- /dev/null
+++ b/aports/broadcom-wl/009-fix_mac_profile_discrepancy.patch
@@ -0,0 +1,10 @@
+--- a/src/wl/sys/wl_cfg80211_hybrid.c
++++ b/src/wl/sys/wl_cfg80211_hybrid.c
+@@ -1446,7 +1446,6 @@
+
+ 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));