commit | b25f32cb02155d68c690255ba846796a1c248fd3 | [log] [tgz] |
---|---|---|
author | Kalle Valo <kvalo@qca.qualcomm.com> | Sun Sep 14 12:50:49 2014 +0300 |
committer | Kalle Valo <kvalo@qca.qualcomm.com> | Thu Sep 18 10:47:03 2014 +0300 |
tree | 67bfbd65920ced68f7e8ea96749587bfee55294b | |
parent | 75cb96d3eb6d1eb16e48931e987c1a7770b4758e [diff] |
ath10k: use ether_addr_copy() As suggeested by checkpatch: WARNING: Prefer ether_addr_copy() over memcpy() if the Ethernet addresses are __aligned(2) In wmi.c I had to change due to sparse warnings copying of struct wmi_mac_addr from form &cmd->peer_macaddr.addr to cmd->peer_macaddr.addr. In ath10k_wmi_set_ap_ps_param() I also added the missing ".addr" to the copy command. Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>