mac80211: fix the assignment of PREQ's MAC address for Proactive RANN
[deliverable/linux.git] / net / mac80211 / mesh_pathtbl.c
index 49aaefd99635f5ca08c31dbe735f568416ae054c..baa6096c66b4b4714c40bcac0f0cb47f75778186 100644 (file)
@@ -538,6 +538,8 @@ 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);
+       new_mpath->is_root = false;
        new_mpath->sdata = sdata;
        new_mpath->flags = 0;
        skb_queue_head_init(&new_mpath->frame_queue);
This page took 0.0257 seconds and 5 git commands to generate.