wpa_supplicant: Default to nl80211 instead of wext
nl80211 has obsoleted WEXT as the preferred kernel interface for controlling wireless drivers. Update wpa_supplicant driver interface list order so that nl80211 gets used first if both nl80211 and wext interfaces are included in the build. In addition, update README to reflect the fact that WEXT is obsolete. Signed-hostap: Jouni Malinen <jouni@qca.qualcomm.com>
This commit is contained in:
parent
ee28f088a5
commit
b57b560034
3 changed files with 17 additions and 14 deletions
|
@ -50,12 +50,12 @@ extern struct wpa_driver_ops wpa_driver_none_ops; /* driver_none.c */
|
|||
|
||||
struct wpa_driver_ops *wpa_drivers[] =
|
||||
{
|
||||
#ifdef CONFIG_DRIVER_WEXT
|
||||
&wpa_driver_wext_ops,
|
||||
#endif /* CONFIG_DRIVER_WEXT */
|
||||
#ifdef CONFIG_DRIVER_NL80211
|
||||
&wpa_driver_nl80211_ops,
|
||||
#endif /* CONFIG_DRIVER_NL80211 */
|
||||
#ifdef CONFIG_DRIVER_WEXT
|
||||
&wpa_driver_wext_ops,
|
||||
#endif /* CONFIG_DRIVER_WEXT */
|
||||
#ifdef CONFIG_DRIVER_HOSTAP
|
||||
&wpa_driver_hostap_ops,
|
||||
#endif /* CONFIG_DRIVER_HOSTAP */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue