]> git.ipfire.org Git - thirdparty/hostap.git/commit - src/drivers/driver_nl80211.c
Allow driver wrappers to indicate whether result codes are sane
authorJouni Malinen <jouni.malinen@atheros.com>
Fri, 26 Nov 2010 15:41:21 +0000 (17:41 +0200)
committerJouni Malinen <j@w1.fi>
Fri, 26 Nov 2010 15:41:21 +0000 (17:41 +0200)
commit871f4dd06957ced3eafc95962124781fefa6268d
tree10e25be5b48d6985500c503304b770ea90427ff1
parentdf89c1c8d18f1cff08c2c5f38ebf4b8a64ac6e47
Allow driver wrappers to indicate whether result codes are sane

Some drivers are not providing exactly reliable error codes (e.g.,
with WEXT), but others may actually indicate reliable information.
Allow driver wrappers to indicate if that is the case and use
optimizations if so. For now, this improves nl80211 with
NL80211_CMD_CONNECT for a case where connection request fails.
src/drivers/driver.h
src/drivers/driver_nl80211.c
wpa_supplicant/wpa_supplicant.c