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.
2 files changed