All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] Correct a copy+paste error in SIM write callback.
@ 2009-08-03 12:51 Andrzej Zaborowski
  2009-08-04  3:39 ` [PATCH] Fix " Andrzej Zaborowski
  0 siblings, 1 reply; 3+ messages in thread
From: Andrzej Zaborowski @ 2009-08-03 12:51 UTC (permalink / raw)
  To: ofono

[-- Attachment #1: Type: text/plain, Size: 601 bytes --]

---
 src/sim.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/sim.c b/src/sim.c
index d432e1b..d4c7dbf 100644
--- a/src/sim.c
+++ b/src/sim.c
@@ -479,7 +479,7 @@ static void sim_op_write_cb(const struct ofono_error *error, void *data)
 {
 	struct ofono_modem *modem = data;
 	struct sim_manager_data *sim = modem->sim_manager;
-	struct sim_file_op *op = g_queue_pop_head(sim->simop_q);
+	struct sim_file_op *op = g_queue_peek_head(sim->simop_q);
 	ofono_sim_file_write_cb_t cb = op->cb;
 
 	if (error->type != OFONO_ERROR_TYPE_NO_ERROR) {
-- 
1.6.1


^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2009-08-04 20:17 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-08-03 12:51 [PATCH] Correct a copy+paste error in SIM write callback Andrzej Zaborowski
2009-08-04  3:39 ` [PATCH] Fix " Andrzej Zaborowski
2009-08-04 20:17   ` Denis Kenzior

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.