Do not use virtual driver_ops for wpa_supplicant AP mode
authorJouni Malinen <j@w1.fi>
Fri, 25 Dec 2009 17:47:08 +0000 (19:47 +0200)
committerJouni Malinen <j@w1.fi>
Fri, 25 Dec 2009 17:47:08 +0000 (19:47 +0200)
commita911a6e61f9acbdc04fdb3fdf0b77c5385abd8d6
tree1ec9fdf7de948cf5f9d00635cc7c921c27f6aace
parent8c5fe31fe87cdd8bd5af51df3bb3f99929770e0f
Do not use virtual driver_ops for wpa_supplicant AP mode

Initialize struct hostapd_data driver context with the same driver
information that was initialized earlier during wpa_supplicant start.
This allows the AP mode operations to be completed directly with the
same calls in AP code without having to maintain a separate translation
layer between the AP and station mode driver context.
src/drivers/drivers.c
wpa_supplicant/ap.c