Diff between 5f8a68d9f2996bdee2bc27a0e2d8e28d400a5b91 and a30763866b7a6d5bf5001df66223c286c63698b4

Changed Files

File Additions Deletions Status
profiles/network/server.c +1 -1 modified

Full Patch

diff --git a/profiles/network/server.c b/profiles/network/server.c
index 36a1136..ad2cd55 100644
--- a/profiles/network/server.c
+++ b/profiles/network/server.c
@@ -336,7 +336,7 @@ static gboolean bnep_setup(GIOChannel *chan,
 		 * This packet reply to any control message received,
 		 * which contains an unknown BNEP control type value.
 		 */
-		if (req->ctrl == BNEP_CONTROL)
+		if (req->type == BNEP_CONTROL)
 			bnep_send_unkown_rsp(sk, req->ctrl);
 
 		error("To few setup connection request data received");