OSDN Git Service

Use exact interface as socket parameter for init
authorIrfan Sheriff <isheriff@google.com>
Fri, 26 Aug 2011 18:43:50 +0000 (11:43 -0700)
committerIrfan Sheriff <isheriff@google.com>
Fri, 26 Aug 2011 18:47:22 +0000 (11:47 -0700)
commit0dc7a27a4d3b8328028ced3a71bd331e77981166
treee04767e08542e2322e72deb69a783043d87ca2d3
parent44da0253a740e0329b18f60c196e1f2dcacfccea
Use exact interface as socket parameter for init

For p2p, there are virtual interfaces (like p2p-wlan0-X) created and
that results in binding to the common init socket right now.

Instead, have the init bind fail for p2p interfaces and create seperate
sockets specified by the ctrl_interface path in config file

Bug: 5002384
Change-Id: Ia155df079a0bcca1871b6bcab2ef7111f0cba6c1
wpa_supplicant/ctrl_iface_unix.c