[FS#550] hostapd (wpad-mesh) fails to start interface at same time with meshpoint interface

LEDE Bugs lede-bugs at lists.infradead.org
Tue Feb 28 06:23:22 PST 2017


The following task has a new comment added:

FS#550 - hostapd (wpad-mesh) fails to start interface at same time with meshpoint interface
User who did this - Charlemagne Lasse (charlemagnelasse)

----------
It can be fixed by removing following lines in wpa_supplicant.c


	if (iface->hostapd_ctrl) {
		char *cmd = "STOP_AP";
		char buf[256];
		int len = sizeof(buf);

		wpa_s->hostapd = wpa_ctrl_open(iface->hostapd_ctrl);
		if (!wpa_s->hostapd) {
			wpa_printf(MSG_ERROR, "\nFailed to connect to hostapd\n");
			return -1;
		}
		if (hostapd_stop(wpa_s) < 0)
			return -1;
	}

----------

More information can be found at the following URL:
https://bugs.lede-project.org/index.php?do=details&task_id=550#comment2016



More information about the lede-bugs mailing list