In the function at2_send_one_message()/smsc_at2.c, the lines

            counter_increase(privdata->conn->sent);
            bb_smscconn_sent(privdata->conn, msg);

increment the sent messages counter twice because bb_smscconn_sent()
also does;

    counter_increase(outgoing_sms_counter);
    if (conn) counter_increase(conn->sent);

Thus, conn->sent is incremented twice. The counter_increase() in the
AT2 driver should be removed.

Paul Keogh
ANAM Wireless Internet Solutions
http://www.anam.com                     
+353 1 284 7555 (wired)               +353 86 234 6047 (wireless)
Castle Yard, Saint Patrick's Road, Dalkey, County Dublin, Ireland
 

Reply via email to