VLAN: Use stack instead of heap allocation for new interface name
authorMichael Braun <michael-dev@fami-braun.de>
Wed, 24 Feb 2016 11:53:35 +0000 (12:53 +0100)
committerJouni Malinen <j@w1.fi>
Sun, 28 Feb 2016 16:29:58 +0000 (18:29 +0200)
commitcc9c805a51cc6790d30d2f118055081644dae5b5
tree59f6ca527936c88c449bcc2ac7b7ff4e120e1c93
parentd48d1b88d0226bf096890a4a9b485ec65ddc341b
VLAN: Use stack instead of heap allocation for new interface name

The VLAN ifname is limited to the maximum length of IFNAMSIZ, so there
is no need to use heap allocation for it.

Signed-off-by: Michael Braun <michael-dev@fami-braun.de>
src/ap/vlan_init.c