]> git.ipfire.org Git - thirdparty/hostap.git/commit - src/drivers/driver.h
Remove unnecessary copying of SSID and BSSID for external_auth
authorJouni Malinen <jouni@codeaurora.org>
Fri, 12 Apr 2019 17:38:08 +0000 (20:38 +0300)
committerJouni Malinen <j@w1.fi>
Fri, 12 Apr 2019 17:43:26 +0000 (20:43 +0300)
commitdd1a8cef4c050866c8273955694c2142c7db0258
tree3245d3d10789e43a78ca46f762cc75a024022979
parent4ffb0fefe4e7b8b81f0983c5cdc8e9f779927df6
Remove unnecessary copying of SSID and BSSID for external_auth

The external authentication command and event does not need to copy the
BSSID/SSID values into struct external_auth since those values are used
before returning from the call. Simplify this by using const u8 * to
external data instead of the array with a copy of the external data.

Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
src/ap/ieee802_11.c
src/drivers/driver.h
src/drivers/driver_nl80211.c
src/drivers/driver_nl80211_event.c
wpa_supplicant/sme.c