projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d458cdf
)
ath10k: wmi: Convert use of 6 to ETH_ALEN
author
Joe Perches
<
[email protected]
>
Thu, 3 Oct 2013 03:39:11 +0000
(20:39 -0700)
committer
David S. Miller
<
[email protected]
>
Thu, 3 Oct 2013 03:41:53 +0000
(23:41 -0400)
Use the appropriate define instead of 6.
Signed-off-by: Joe Perches <
[email protected]
>
Noticed-by: Julia Lawall <
[email protected]
> via spatch script
Signed-off-by: David S. Miller <
[email protected]
>
drivers/net/wireless/ath/ath10k/wmi.c
patch
|
blob
|
history
diff --git
a/drivers/net/wireless/ath/ath10k/wmi.c
b/drivers/net/wireless/ath/ath10k/wmi.c
index bee88e841a7f2c3b15b6549795d7a6c30687260f..48d44e7f386cc336099e579bed0302b16c0eea19 100644
(file)
--- a/
drivers/net/wireless/ath/ath10k/wmi.c
+++ b/
drivers/net/wireless/ath/ath10k/wmi.c
@@
-1758,7
+1758,7
@@
int ath10k_wmi_vdev_up(struct ath10k *ar, u32 vdev_id, u32 aid, const u8 *bssid)
cmd = (struct wmi_vdev_up_cmd *)skb->data;
cmd->vdev_id = __cpu_to_le32(vdev_id);
cmd->vdev_assoc_id = __cpu_to_le32(aid);
- memcpy(&cmd->vdev_bssid.addr, bssid,
6
);
+ memcpy(&cmd->vdev_bssid.addr, bssid,
ETH_ALEN
);
ath10k_dbg(ATH10K_DBG_WMI,
"wmi mgmt vdev up id 0x%x assoc id %d bssid %pM\n",