]> rtime.felk.cvut.cz Git - lisovros/linux_canprio.git/blobdiff - drivers/staging/batman-adv/soft-interface.c
Staging: batman-adv: move /proc interface handling to /sys
[lisovros/linux_canprio.git] / drivers / staging / batman-adv / soft-interface.c
index 4cdebe5f874fabc609ea307946df4d4e34d151f7..681a0ad7cb88376fe9ca8afb0a3ab5314dcdac6a 100644 (file)
@@ -251,7 +251,7 @@ int interface_tx(struct sk_buff *skb, struct net_device *dev)
                        memcpy(unicast_packet->dest, orig_node->orig, ETH_ALEN);
 
                        /* net_dev won't be available when not active */
-                       if (orig_node->router->if_incoming->if_active != IF_ACTIVE)
+                       if (orig_node->router->if_incoming->if_status != IF_ACTIVE)
                                goto unlock;
 
                        /* don't lock while sending the packets ... we therefore