]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
P2P: Add TODO note for Group Formation bit use in AP selection
authorJouni Malinen <jouni.malinen@atheros.com>
Sun, 18 Jul 2010 21:30:25 +0000 (14:30 -0700)
committerJouni Malinen <j@w1.fi>
Thu, 9 Sep 2010 14:17:17 +0000 (07:17 -0700)
wpa_supplicant/events.c

index cc4f1b7be440d2cbc2f7d8fe322d23e000357880..880794afb0b78468273c657d5fa6b0085af6d8ed 100644 (file)
@@ -519,6 +519,14 @@ static struct wpa_ssid * wpa_scan_res_match(struct wpa_supplicant *wpa_s,
                        continue;
                }
 
+#ifdef CONFIG_P2P
+               /*
+                * TODO: skip the AP if its P2P IE has Group Formation
+                * bit set in the P2P Group Capability Bitmap and we
+                * are not in Group Formation with that device.
+                */
+#endif /* CONFIG_P2P */
+
                /* Matching configuration found */
                return ssid;
        }