[PATCH 0/4] hostap: Interface init/deinit fixes

Michal Kazior michal.kazior
Wed May 28 02:57:08 PDT 2014


This patchset addresses some issues I've been seeing with multi-BSS AP
when enabling/disabling hostapd interfaces (via DISABLE/ENABLE commands):

 - double DISABLE caused segfault
 - if ENABLE failed late it would crash soon after that

Michal Kazior (4):
  nl80211: Fix wpa_driver_nl80211_if_add() failpath
  hostapd: Prevent double interface disabling from segfaulting
  hostapd: Reset hapd->interface_add properly
  hostapd: Clean up if interface setup fails

 src/ap/hostapd.c             | 28 +++++++++++++++++++++++-----
 src/drivers/driver_nl80211.c | 12 ++++++++----
 2 files changed, 31 insertions(+), 9 deletions(-)


More information about the Hostap mailing list