diff options
author | Joe Perches <joe@perches.com> | 2013-10-02 20:39:11 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-10-02 23:41:53 -0400 |
commit | 7b4371ea48f03d3ac56df44f573e314f5b06939e (patch) | |
tree | 32e5ee098e4d51c892af2f53a92e3114bf1a56fd | |
parent | d458cdf712e0c671e8e819abb16ecd6e44f9daec (diff) | |
download | linux-7b4371ea48f03d3ac56df44f573e314f5b06939e.tar.bz2 |
ath10k: wmi: Convert use of 6 to ETH_ALEN
Use the appropriate define instead of 6.
Signed-off-by: Joe Perches <joe@perches.com>
Noticed-by: Julia Lawall <julia.lawall@lip6.fr> via spatch script
Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r-- | drivers/net/wireless/ath/ath10k/wmi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/ath/ath10k/wmi.c b/drivers/net/wireless/ath/ath10k/wmi.c index bee88e841a7f..48d44e7f386c 100644 --- 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", |