Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Unverified Commit 794b511a authored by Peter Cai's avatar Peter Cai
Browse files

drivers: qcacld: reverse fw-provided mac addr

* When wlan_mac.bin is missing for whatever reason, qcacld will fall
  back to loading mac address from firmware. The OnePlus firmware can
  provide a correct mac address, but it is in reverse, breaking the
  qcacld logic.
* Just reverse it back in qcacld. Although wlan_mac.bin should not be
  missing at all, we have seen some rare cases where it could not be
  generated properly for some reason, and the qcacld fallback is broken
  because of byte-ordering. Let's at least make the fallback path work.

Change-Id: Iccdc4657debec1375939dca7a4ce4df5e76f255f
parent ca530582
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment