>> +                     if (!mpath || (mpath && (!next_hop ||
>> +                                     !(mpath->flags & MESH_PATH_ACTIVE))))
>> +                             mppath = mpp_path_lookup(skb->data, sdata);
>
> Heck, even the logic is wrong. Ok actually just weird -- if (!mpath || !
> next_hop || ...) would be totally sufficient.

We go to lookup for mppath if mpath is unavailable, or if mpath is
available but the next_hop is NULL or the path is inactive.

---
Chun-Yeow
_______________________________________________
Devel mailing list
[email protected]
http://lists.open80211s.org/cgi-bin/mailman/listinfo/devel

Reply via email to