[PATCH] In device free call go_neg failure Signed-off-by: root <root at neeraj-ubuntu64.(none)>
root none
root
Thu Oct 20 23:30:15 PDT 2011
---
src/p2p/p2p.c | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
mode change 100644 =3D> 100755 src/p2p/p2p.c
diff --git a/src/p2p/p2p.c b/src/p2p/p2p.c
old mode 100644
new mode 100755
index 259f854..66d8d83
--- a/src/p2p/p2p.c
+++ b/src/p2p/p2p.c
@@ -625,8 +625,10 @@ static void p2p_device_free(struct p2p_data *p2p, stru=
ct p2p_device *dev)
{
int i;
=20
- if (p2p->go_neg_peer =3D=3D dev)
+ if (p2p->go_neg_peer =3D=3D dev) {
+ p2p_go_neg_failed(p2p, dev, -1);
p2p->go_neg_peer =3D NULL;
+ }
if (p2p->invite_peer =3D=3D dev)
p2p->invite_peer =3D NULL;
if (p2p->sd_peer =3D=3D dev)
--=20
1.7.4.1
=20
Regards,
-Neeraj
More information about the Hostap
mailing list