diff options
author | Matthias Schiffer <mschiffer@universe-factory.net> | 2013-03-09 22:14:22 (GMT) |
---|---|---|
committer | Antonio Quartulli <ordex@autistici.org> | 2013-05-29 00:44:53 (GMT) |
commit | de68d1003d9eb0a5f7d4714315614e4bc956f68e (patch) | |
tree | 9019a95f51e7dce7837afb3910cb2e52362ee1f9 /include/linux/bit_spinlock.h | |
parent | 06ecf24bdf2b7afc6c8fd13de6dba2a96dd331b6 (diff) | |
download | linux-fsl-qoriq-de68d1003d9eb0a5f7d4714315614e4bc956f68e.tar.xz |
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>
Diffstat (limited to 'include/linux/bit_spinlock.h')
0 files changed, 0 insertions, 0 deletions