mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-11 15:11:48 -04:00
staging: ks7010: use ether_addr_copy in get_ap_information function
This commit make use of ether_addr_copy to copy ethernet address instead of copy it using memcpy. Signed-off-by: Sergio Paracuellos <sergio.paracuellos@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
6663f11bd4
commit
a5f7d6531e
1 changed files with 1 additions and 1 deletions
|
|
@ -200,7 +200,7 @@ int get_ap_information(struct ks_wlan_private *priv, struct ap_info *ap_info,
|
|||
|
||||
memset(ap, 0, sizeof(struct local_ap));
|
||||
|
||||
memcpy(ap->bssid, ap_info->bssid, ETH_ALEN);
|
||||
ether_addr_copy(ap->bssid, ap_info->bssid);
|
||||
ap->rssi = ap_info->rssi;
|
||||
ap->sq = ap_info->sq;
|
||||
ap->noise = ap_info->noise;
|
||||
|
|
|
|||
Loading…
Reference in a new issue