]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
The driver list prints "(null)" for the NDIS driver when -h (help) or
authorcy <cy@FreeBSD.org>
Thu, 16 May 2019 02:41:25 +0000 (02:41 +0000)
committercy <cy@FreeBSD.org>
Thu, 16 May 2019 02:41:25 +0000 (02:41 +0000)
commit5ab4684305e226d9c6508f3ee12e8df41c9f6adb
tree09fbca713ec6a49c2531204741d57fcabfc4c1be
parent47fca2b587ea503fea9c27a4b69f09f0be0531f2
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.

Obtained from: The wpa_supplicant port
MFC after: 1 week
contrib/wpa/wpa_supplicant/main.c
contrib/wpa/wpa_supplicant/wpa_supplicant.c