[PATCH] Correct a copy+paste error in SIM write callback.
Andrzej Zaborowski
andrew.zaborowski at intel.com
Mon Aug 3 05:51:38 PDT 2009
---
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
More information about the ofono
mailing list