]> git.ipfire.org Git - thirdparty/hostap.git/commit
Try fallback drivers if global init for preferred drivers fails
authorDan Williams <dcbw@redhat.com>
Sat, 4 Feb 2012 18:09:00 +0000 (20:09 +0200)
committerJouni Malinen <j@w1.fi>
Sat, 4 Feb 2012 18:09:51 +0000 (20:09 +0200)
commit0f4668ceac37e2c98ce6068bd255d0915974a706
tree4c2b26c4fb364a459b04c35ddc525bcba2e45e2e
parent4bb70bd80d61a451b598102bd26f5348846fdef0
Try fallback drivers if global init for preferred drivers fails

Driver global init was considered a hard failure. Thus if, for example,
you used the Broadcom STA driver and didn't have nl80211 or cfg80211
loaded into the kernel, and specified a driver value of "nl80211,wext",
the nl80211 driver's global init would fail with the following message:

nl80211: 'nl80211' generic netlink not found
Failed to initialize driver 'nl80211'

but since global init was a hard failure, creating the supplicant
interface would fail and the WEXT driver would not be tried.
Give other drivers a chance instead.

Signed-hostap: Dan Williams <dcbw@redhat.com>
intended-for: hostap-1
wpa_supplicant/wpa_supplicant.c