Public bug reported:

init_wpa_supplicant() in /etc/wpa_supplicant/functions.sh runs
wpa_supplicant with the -W option, which causes it to wait for wpa_cli
to attach.  init_wpa_supplicant() then attaches wpa_cli to
wpa_supplicant.

When the nl80211 driver is used with some Intel cards, wpa_supplicant
automatically defines a second p2p_dev_${WPA_IFACE} interface.  If
multiple interfaces are defined in wpa_supplicant, then wpa_supplicant
will wait for multiple wpa_cli instances to attach.  Since
init_wpa_supplicant() only attaches a single wpa_cli process, this
causes wpa_supplicant to hang, which ultimately leads to a timeout and
causes interface configuration to fail.

This has been fixed upstream: 
http://lists.infradead.org/pipermail/hostap/2015-December/034410.html
And also in Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=833402

However, the updated wpa_supplicant has not made it to Ubuntu (not even
Zesty), and the "-m ''" workaround mentioned in the mailing list thread
associated with the upstream fix does not work with the version of
wpa_supplicant that comes with Ubuntu.

Could the P2P patches that were merged into Debian be merged into
Ubuntu?

** Affects: wpa (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to wpa in Ubuntu.
https://bugs.launchpad.net/bugs/1670494

Title:
  'wpa_supplicant -D nl80211 -W' hangs with some Intel cards

Status in wpa package in Ubuntu:
  New

Bug description:
  init_wpa_supplicant() in /etc/wpa_supplicant/functions.sh runs
  wpa_supplicant with the -W option, which causes it to wait for wpa_cli
  to attach.  init_wpa_supplicant() then attaches wpa_cli to
  wpa_supplicant.

  When the nl80211 driver is used with some Intel cards, wpa_supplicant
  automatically defines a second p2p_dev_${WPA_IFACE} interface.  If
  multiple interfaces are defined in wpa_supplicant, then wpa_supplicant
  will wait for multiple wpa_cli instances to attach.  Since
  init_wpa_supplicant() only attaches a single wpa_cli process, this
  causes wpa_supplicant to hang, which ultimately leads to a timeout and
  causes interface configuration to fail.

  This has been fixed upstream: 
http://lists.infradead.org/pipermail/hostap/2015-December/034410.html
  And also in Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=833402

  However, the updated wpa_supplicant has not made it to Ubuntu (not
  even Zesty), and the "-m ''" workaround mentioned in the mailing list
  thread associated with the upstream fix does not work with the version
  of wpa_supplicant that comes with Ubuntu.

  Could the P2P patches that were merged into Debian be merged into
  Ubuntu?

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/wpa/+bug/1670494/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to