Refactor channel list update event in wpa_supplicant
authorArik Nemtsov <arik@wizery.com>
Mon, 27 Jul 2015 19:24:24 +0000 (22:24 +0300)
committerJouni Malinen <j@w1.fi>
Tue, 4 Aug 2015 13:04:52 +0000 (16:04 +0300)
commit0f4bccdbbe642fc620d2b70f60c8ddc4ad09a5db
tree2b96052741e8e8c3796e3228f7c1733d4793ee23
parentb1308121003480607dccb427cd2b8524021c5128
Refactor channel list update event in wpa_supplicant

Update hardware features for all interfaces inside the loop, don't treat
the calling wpa_s instance specially. Perform the P2P channel list
updates after the hardware features are updated. This will prevent P2P
from relying on stale information.

Signed-off-by: Arik Nemtsov <arikx.nemtsov@intel.com>
wpa_supplicant/events.c