driver_bsd.c: use get_scan_results2
authorMasashi Honma <honma@ictec.co.jp>
Thu, 21 May 2009 08:34:54 +0000 (11:34 +0300)
committerJouni Malinen <j@w1.fi>
Thu, 21 May 2009 08:34:54 +0000 (11:34 +0300)
commita65f4a57fd16ff28bde7607182c682a6442ff4bf
tree2784ed8f075807d6e816fbfe8380dcaa629854c9
parent131289d88de2e8e8b0147ee968cdd3e4055c3168
driver_bsd.c: use get_scan_results2

The attached patch will replace get_scan_results with get_scan_results2.
This is a preparation for WPS on BSD.
And I erased "wpa_scan_result_compar". Because scan result
sorting will be done with "wpa_scan_result_compar" on
"scan_helpers.c".

I have done below tests on NetBSD with an atheros card.
- WPA2-PSK(CCMP)
- WPA-PSK(TKIP)
- PEAP(MSCHAPv2)
- EAP-TLS
- EAP-TTLS(MSCHAPv2)
src/drivers/driver_bsd.c