]> git.ipfire.org Git - thirdparty/hostap.git/commit
hostapd: Skip some configuration steps for mesh cases
authorJavier Lopez <jlopex@gmail.com>
Mon, 1 Sep 2014 04:23:37 +0000 (00:23 -0400)
committerJouni Malinen <j@w1.fi>
Sat, 25 Oct 2014 14:45:36 +0000 (17:45 +0300)
commit01e2231fdc4fbec61fbc382238e3606a1d2826e4
tree824bae5f0115355950a38a2c63867ee1a1047cad
parentfbca4c893d3de77e012e16956f694dfc15be97c2
hostapd: Skip some configuration steps for mesh cases

Modify hostapd.c logic to add checks for valid mconf data structure:

- For hostapd_setup_bss we don't need to flush old stations in case
  we're rejoining a mesh network.

- In hostapd_setup_interface_complete, we don't need to setup the
  interface until we join the mesh (same reasoning for
  hostapd_tx_queue_params).

Signed-off-by: Javier Lopez <jlopex@gmail.com>
Signed-off-by: Jason Mobarak <x@jason.mobarak.name>
src/ap/hostapd.c