[PATCH obexd v1 3/3] MAP: Reset ap_sent variable

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



For multiple subsequent request for message listing
we need to reset this variable to FALSE, so that each
time the get next header function is executed properly.
---
 plugins/mas.c |    1 +
 1 file changed, 1 insertion(+)

diff --git a/plugins/mas.c b/plugins/mas.c
index bdf2b6b..459df87 100644
--- a/plugins/mas.c
+++ b/plugins/mas.c
@@ -162,6 +162,7 @@ static void reset_request(struct mas_session *mas)
 
 	mas->nth_call = FALSE;
 	mas->finished = FALSE;
+	mas->ap_sent = FALSE;
 }
 
 static void mas_clean(struct mas_session *mas)
-- 
1.7.9.5

--
To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux