mwifiex/mxm_wifiex
Sherry Sun 35da828282 mxm_wifiex: fix the net_device::dev_addr build warnings on L5.16
Use eth_hw_addr_set function instead of writing the address directly to
net_device::dev_addr. Make sure we don't cast off const qualifier from
dev->dev_addr. Otherwise will have the build warnings when build the
driver based on L5.16 kernel.

Fixes: adeef3e32146 ("net: constify netdev->dev_addr")
Signed-off-by: Sherry Sun <sherry.sun@nxp.com>
Approved-by: Tian Yang <yang.tian@nxp.com>
2022-02-15 15:45:23 +08:00
..
wlan_src mxm_wifiex: fix the net_device::dev_addr build warnings on L5.16 2022-02-15 15:45:23 +08:00