commit | de68d1003d9eb0a5f7d4714315614e4bc956f68e | [log] [tgz] |
---|---|---|
author | Matthias Schiffer <mschiffer@universe-factory.net> | Sat Mar 09 23:14:22 2013 +0100 |
committer | Antonio Quartulli <ordex@autistici.org> | Wed May 29 02:44:53 2013 +0200 |
tree | 9019a95f51e7dce7837afb3910cb2e52362ee1f9 | |
parent | 06ecf24bdf2b7afc6c8fd13de6dba2a96dd331b6 [diff] |
batman-adv: split batadv_is_wifi_iface() into two functions Previously batadv_is_wifi_iface() did two things at once: looking up a net_device from an interface index, and determining if it is a wifi device. The second part is useful itself when the caller already has a net_device reference. Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net> Signed-off-by: Marek Lindner <lindner_marek@yahoo.de> Signed-off-by: Antonio Quartulli <ordex@autistici.org>