bsd: Use set_freq() API for AP mode wpa_supplicant
authorMasashi Honma <honma@ictec.co.jp>
Sun, 23 May 2010 09:20:33 +0000 (12:20 +0300)
committerJouni Malinen <j@w1.fi>
Sun, 23 May 2010 09:20:33 +0000 (12:20 +0300)
commit6db1602d5bbe1f6391da900400336dddd7832c76
treefca1cddb05053c9b202e0b70089d9790fa31acdd
parent25c226ea458f8f85efc1a48d18ef7bf384f49b42
bsd: Use set_freq() API for AP mode wpa_supplicant

Previous version driver_bsd.c switches the channel in
wpa_driver_bsd_associate(). This patch changes it to use set_freq().
I have tested this patch on FreeBSD 8.0/NetBSD 5.0.2 with hostapd,
wpa_supplicant(AP) and wpa_supplicant(STA).
src/drivers/driver_bsd.c