mac80211: use eth_broadcast_addr
[firefly-linux-kernel-4.4.55.git] / net / mac80211 / mesh_pathtbl.c
index 075bc535c60126c33c6ce5f015bab87b00fe08f2..bec7b281b5ba5f1b31c72d7c340dc50f5fea27dd 100644 (file)
@@ -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;