Opened 3 years ago

Closed 3 years ago

#17886 closed defect (fixed)

netifd: any wpa_supplicant control socket gets removed on interface teardown

Reported by: steph.guenther@… Owned by: developers
Priority: normal Milestone:
Component: packages Version: Trunk
Keywords: hostapd wpa_supplicant STA Cc:


I use multiple STA connections with WPA2 on my openwrt-box and i wanted to play with wpa_cli. But this does not work for all STA interfaces, as some sockets are missing at /var/run/wpa_supplicant/.

Turns out, the script removes any control socket on interface teardown, so only the ones for the most recently reconnected interface "survive". After the fix, all control sockets exist as expected.

Attachments (1)

0001-hostapd-do-not-remove-foreign-wpa_supplicant-sockets.patch (851 bytes) - added by steph.guenther@… 3 years ago.
The fix.

Download all attachments as: .zip

Change History (2)

Changed 3 years ago by steph.guenther@…

The fix.

comment:1 Changed 3 years ago by blogic

  • Resolution set to fixed
  • Status changed from new to closed

Add Comment

Modify Ticket

as closed .
The resolution will be deleted. Next status will be 'reopened'.

E-mail address and user name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.