~thopiekar/miracle/trunk

Viewing all changes in revision 106.

  • Committer: David Herrmann
  • Author(s): Andrey Gusakov
  • Date: 2014-09-03 06:39:08 UTC
  • Revision ID: git-v1:204fa269e3f15a36fd718c1d2e10828a25fdde95
wifi: do not start new connections if one is already pending

If there is already a connection pending, don't start a new one.
Unfortunately, wpa_supplicant is unable to deal with this so we have to
enforce this.. Yuck!

We also reset the pending state during P2P_FIND now, this enables API
users to reset failed connections that wpa_supplicant was unable to close
(yeah, beacuse it's so hard to write proper APIs.. *sigh*).

Signed-off-by: Andrey Gusakov <andrey.gusakov@cogentembedded.com>
Signed-off-by: David Herrmann <dh.herrmann@gmail.com>

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: