On Monday, May 02, 2016 05:23:28 Antonio Quartulli wrote:
+static void batadv_v_iface_update_mac(struct batadv_hard_iface *hard_iface) +{
struct batadv_priv *bat_priv = netdev_priv(hard_iface->soft_iface);
struct batadv_hard_iface *primary_if;
primary_if = batadv_primary_if_get_selected(bat_priv);
if (primary_if != hard_iface)
goto out;
batadv_v_primary_iface_set(hard_iface);
+out:
if (primary_if)
batadv_hardif_put(primary_if);
+}
Please provide kernel doc.
Thanks, Marek