qcacld-2.0: Update MAC addresses only once

Propagation from qcacld-3.0 to qcacld-2.0

Currently MAC addresses are getting updated at the time of rx_ready
indication and at the time of initialization.

First time addressses are updated in when first rx_ready indication
comes in hdd_update_tgt_cfg api.
At the time of initialization mac addresses are getting updated
from platform driver or MAC.bin. If platform driver and MAC.bin
doesn't provide the addresses then addresses updated in
hdd_update_tgt_cfg are used.
If platform driver or MAC.bin provides MAC addresses then those
addresses must be used. Currently on every rx_ready indication
MAC addresses are updated, losing the addresses provided by
platform driver or MAC.bin.

Move the complete address management logic to
hdd_initialize_mac_address api so the MAC addresses will be
updated only once.
Change-Id: I64910063e51c08916c9835e547ef1d7b58de33e6
CRs-Fixed: 2190513
2 files changed
tree: 2faf0f8bda360b69168d15e746c00fc58e2936a3
  1. CORE/
  2. firmware_bin/
  3. wcnss/
  4. Android.mk
  5. Kbuild
  6. Kconfig
  7. Makefile