vlan: Clean up netlink vs. ioctl API implementation
authorJouni Malinen <j@w1.fi>
Fri, 25 Mar 2016 15:21:41 +0000 (17:21 +0200)
committerJouni Malinen <j@w1.fi>
Fri, 25 Mar 2016 15:24:20 +0000 (17:24 +0200)
commit84d6755108677f8ca542f49a3c0ca0c45deac40b
treec842c31ff01a0c221c17f98d32ba41940fade6b7
parentcb38bc886e66d7ef20728fa6516aa28384a5febe
vlan: Clean up netlink vs. ioctl API implementation

Move the ioctl-based VLAN implementation to a separate file to avoid
need for conditional blocks within vlan_ioctl.c. This removes the
internal CONFIG_VLAN_NETLINK define, i.e., this is now used only in
build configuration (.config) to select whether to include the
vlan_util.c (netlink) or vlan_ioctl.c (ioctl) implementation of the
functions.

Signed-off-by: Jouni Malinen <j@w1.fi>
hostapd/Android.mk
hostapd/Makefile
src/ap/vlan_init.c
src/ap/vlan_ioctl.c [new file with mode: 0644]
src/ap/vlan_util.c
src/ap/vlan_util.h