diff options
author | Johannes Berg <johannes.berg@intel.com> | 2012-07-13 16:23:07 +0200 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2012-07-31 16:19:51 +0200 |
commit | e83e6541cee0a12bc445b0f4fad5214df5803087 (patch) | |
tree | f236e4e330e7c05ca63b350f43f3a97ff9b3e660 /net/mac80211/mesh_pathtbl.c | |
parent | 1411af156524ce42c2a7f989320c4484257f3ff5 (diff) | |
download | linux-e83e6541cee0a12bc445b0f4fad5214df5803087.tar.bz2 |
mac80211: use eth_broadcast_addr
Instead of memset().
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/mac80211/mesh_pathtbl.c')
-rw-r--r-- | net/mac80211/mesh_pathtbl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/mac80211/mesh_pathtbl.c b/net/mac80211/mesh_pathtbl.c index 075bc535c601..bec7b281b5ba 100644 --- a/net/mac80211/mesh_pathtbl.c +++ b/net/mac80211/mesh_pathtbl.c @@ -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; |