P2P: Fix infinite loop on interface selection for Action frame TX
authorJouni Malinen <jouni.malinen@atheros.com>
Wed, 23 Jun 2010 03:08:14 +0000 (20:08 -0700)
committerJouni Malinen <j@w1.fi>
Thu, 9 Sep 2010 14:17:18 +0000 (07:17 -0700)
commitd6ae9950572edc2979be8c36299c8f64aa9c8635
treef82be2de40a413cbbb3b1ab2334a7a715dc663a7
parent962473c136cc87a0ba98e65a6ddf1e1a39bab8f4
P2P: Fix infinite loop on interface selection for Action frame TX

When the first wpa_supplicant interface is not the correct one for
transmitting an Action frame (e.g., P2P Presence Request frame
uses a group interface), the code got stuck in an infinite busy
loop. Fix the iteration to go through the interfaces properly.
wpa_supplicant/p2p_supplicant.c