fix a bug in oa_dev_control.c & oa_sms.c