aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/p2p_supplicant.c
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2011-02-24 20:08:18 (GMT)
committerJouni Malinen <j@w1.fi>2011-02-24 20:08:18 (GMT)
commitd642d2d2676b8da7b938f7c9dea4723ac86612ca (patch)
tree6c1059c9411718f5b462ee4b3052b61b6aa68b12 /wpa_supplicant/p2p_supplicant.c
parentc165d81eea6f794deddf77915f2d2cb8b1ac8dc5 (diff)
downloadhostap-d642d2d2676b8da7b938f7c9dea4723ac86612ca.zip
hostap-d642d2d2676b8da7b938f7c9dea4723ac86612ca.tar.gz
hostap-d642d2d2676b8da7b938f7c9dea4723ac86612ca.tar.bz2
P2P: Add notification for P2P device found
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'wpa_supplicant/p2p_supplicant.c')
-rw-r--r--wpa_supplicant/p2p_supplicant.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/wpa_supplicant/p2p_supplicant.c b/wpa_supplicant/p2p_supplicant.c
index cdfcd75..d5061bc 100644
--- a/wpa_supplicant/p2p_supplicant.c
+++ b/wpa_supplicant/p2p_supplicant.c
@@ -1146,6 +1146,8 @@ void wpas_dev_found(void *ctx, const u8 *addr,
sizeof(devtype)),
info->device_name, info->config_methods,
info->dev_capab, info->group_capab);
+
+ wpas_notify_p2p_device_found(ctx, info->p2p_device_addr, new_device);
}