isimodem: Return success on topic set/clear
authorAki Niemi <aki.niemi@nokia.com>
Mon, 27 Sep 2010 12:50:07 +0000 (15:50 +0300)
committerAki Niemi <aki.niemi@nokia.com>
Mon, 27 Sep 2010 13:07:44 +0000 (16:07 +0300)
The isimodem driver accepts all topics by default.

drivers/isimodem/cbs.c

index 0d7fc8a..a742e32 100644 (file)
@@ -50,15 +50,15 @@ struct cbs_data {
 static void isi_set_topics(struct ofono_cbs *cbs, const char *topics,
                                ofono_cbs_set_cb_t cb, void *data)
 {
-       DBG("Not implemented (topics=%s)", topics);
-       CALLBACK_WITH_FAILURE(cb, data);
+       DBG("Not implemented (topics=%s), all topics accepted", topics);
+       CALLBACK_WITH_SUCCESS(cb, data);
 }
 
 static void isi_clear_topics(struct ofono_cbs *cbs,
                                ofono_cbs_set_cb_t cb, void *data)
 {
        DBG("Not implemented");
-       CALLBACK_WITH_FAILURE(cb, data);
+       CALLBACK_WITH_SUCCESS(cb, data);
 }
 
 static void routing_ntf_cb(GIsiClient *client,