Fix: Emit debug message instead of an error
authorAndrzej Zaborowski <andrew.zaborowski@intel.com>
Mon, 12 Oct 2009 20:41:35 +0000 (22:41 +0200)
committerDenis Kenzior <denkenz@gmail.com>
Fri, 16 Oct 2009 16:14:26 +0000 (11:14 -0500)
SMS storage is frequently empty at startup, if this is the case, do not
use ofono_error, use ofono_debug instead.

drivers/atmodem/sms.c

index d425818..b3d6ff5 100644 (file)
@@ -548,7 +548,7 @@ static void at_cmgl_cb(gboolean ok, GAtResult *result, gpointer user_data)
        struct ofono_sms *sms = user_data;
 
        if (!ok)
-               ofono_error("Initial listing SMS storage failed!");
+               ofono_debug("Initial listing SMS storage failed!");
 
        at_cmgl_done(sms);
 }