]> git.ipfire.org Git - thirdparty/hostap.git/commit - wpa_supplicant/wpa_supplicant.c
Share same freeing and error checking code in get_scan_results
authorWitold Sowa <witold.sowa@gmail.com>
Sun, 13 Sep 2009 19:21:52 +0000 (22:21 +0300)
committerJouni Malinen <j@w1.fi>
Sun, 13 Sep 2009 19:21:52 +0000 (22:21 +0300)
commit3e53b314f5ec02fed61ecd6f4146d23c82c3a147
treea490b1333bf77238c1f6fdf5b0fca7bd3e86ba1a
parent86b89452f6dd0540cc122daca4da415529c0c181
Share same freeing and error checking code in get_scan_results

Convert wpa_supplicant_get_scan_results_old() to use the same return
style with the other get_scan_results options and clean up the code
by sharing the same scan result freeing and error checking code for
all the options.
wpa_supplicant/wpa_supplicant.c