]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
MFC r347642:
authorcy <cy@FreeBSD.org>
Wed, 29 May 2019 19:11:09 +0000 (19:11 +0000)
committercy <cy@FreeBSD.org>
Wed, 29 May 2019 19:11:09 +0000 (19:11 +0000)
commit44768047dd0d47e2acaf6d8c594eca562b612a72
tree7e2eb9ecc725df8fa335df8829400628aab0fd88
parent404321f141c84d03e7eac3c5bea927915dcd97ee
MFC r347642:

The driver list prints "(null)" for the NDIS driver when -h (help) or
an unknown switch is passed outputting the command usage. This is
because the NDIS driver is uninitialized when usage help is printed.
To resolve this we initialize the driver prior to the possibility of
printing the usage help message.

Approved by: re (gjb@)
contrib/wpa/wpa_supplicant/main.c
contrib/wpa/wpa_supplicant/wpa_supplicant.c