wireless: call wireless_interface_handle_link before updating vif config
authorFelix Fietkau <nbd@openwrt.org>
Wed, 2 Dec 2015 13:49:10 +0000 (14:49 +0100)
committerFelix Fietkau <nbd@openwrt.org>
Wed, 2 Dec 2015 13:49:59 +0000 (14:49 +0100)
commit988b5f74dab89f285e3bb59196b4cc880cfa51c7
treee4d01ca296440b1328e41cc5e0570c9c86a772f8
parent48c0fbee548206058c399a73a80178cdcfec3fc7
wireless: call wireless_interface_handle_link before updating vif config

If the network changes, we need to remove the vif from the old network
before we lose access to the previous state

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
wireless.c