View | Details | Raw Unified | Return to bug 203177
Collapse All | Expand All

(-)contrib/wpa/src/drivers/driver_bsd.c (+7 lines)
Lines 1102-1107 Link Here
1102
			  params->wpa_ie[0] == WLAN_EID_RSN ? 2 : 1) < 0)
1102
			  params->wpa_ie[0] == WLAN_EID_RSN ? 2 : 1) < 0)
1103
		return -1;
1103
		return -1;
1104
1104
1105
	/*
1106
	 * NB: interface must be marked UP for association
1107
	 * or scanning (ap_scan=2)
1108
	 */
1109
	if (bsd_ctrl_iface(drv, 1) < 0)
1110
		return -1;
1111
1105
	os_memset(&mlme, 0, sizeof(mlme));
1112
	os_memset(&mlme, 0, sizeof(mlme));
1106
	mlme.im_op = IEEE80211_MLME_ASSOC;
1113
	mlme.im_op = IEEE80211_MLME_ASSOC;
1107
	if (params->ssid != NULL)
1114
	if (params->ssid != NULL)

Return to bug 203177