mac80211: use eth_broadcast_addr
Instead of memset(). Signed-off-by: Johannes Berg <johannes.berg@intel.com>
This commit is contained in:
@@ -531,7 +531,7 @@ int mesh_path_add(u8 *dst, struct ieee80211_sub_if_data *sdata)
|
||||
|
||||
read_lock_bh(&pathtbl_resize_lock);
|
||||
memcpy(new_mpath->dst, dst, ETH_ALEN);
|
||||
memset(new_mpath->rann_snd_addr, 0xff, ETH_ALEN);
|
||||
eth_broadcast_addr(new_mpath->rann_snd_addr);
|
||||
new_mpath->is_root = false;
|
||||
new_mpath->sdata = sdata;
|
||||
new_mpath->flags = 0;
|
||||
|
Reference in New Issue
Block a user