FreeBSD Bugzilla – Attachment 161152 Details for
Bug 203177
[patch] wpa_supplicant(8): initialize interface before scanning (ap_scan=2)
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
driver_bsd.c.diff
patch-wpa-01.diff (text/plain), 558 bytes, created by
Andriy Voskoboinyk
on 2015-09-17 17:07:44 UTC
(
hide
)
Description:
driver_bsd.c.diff
Filename:
MIME Type:
Creator:
Andriy Voskoboinyk
Created:
2015-09-17 17:07:44 UTC
Size:
558 bytes
patch
obsolete
>Index: contrib/wpa/src/drivers/driver_bsd.c >=================================================================== >--- contrib/wpa/src/drivers/driver_bsd.c (revision 5) >+++ contrib/wpa/src/drivers/driver_bsd.c (revision 6) >@@ -1102,6 +1102,13 @@ > params->wpa_ie[0] == WLAN_EID_RSN ? 2 : 1) < 0) > return -1; > >+ /* >+ * NB: interface must be marked UP for association >+ * or scanning (ap_scan=2) >+ */ >+ if (bsd_ctrl_iface(drv, 1) < 0) >+ return -1; >+ > os_memset(&mlme, 0, sizeof(mlme)); > mlme.im_op = IEEE80211_MLME_ASSOC; > if (params->ssid != NULL)
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 203177
: 161152