From f97ac00fa6380439a21b996ae12042187552d6af Mon Sep 17 00:00:00 2001 From: tick Date: Wed, 31 Oct 2007 06:40:26 +0000 Subject: gsmd: Fix the bug 928, that user cannot hang up call/cancel_atcmd until a call is connected.(Andrzej Zaborowski) git-svn-id: http://svn.openmoko.org/trunk/src/target/gsm@3307 99fdad57-331a-0410-800a-d7fa5415bdb3 --- include/gsmd/atcmd.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include/gsmd') diff --git a/include/gsmd/atcmd.h b/include/gsmd/atcmd.h index 0d6c62a..719b943 100644 --- a/include/gsmd/atcmd.h +++ b/include/gsmd/atcmd.h @@ -9,6 +9,7 @@ typedef int atcmd_cb_t(struct gsmd_atcmd *cmd, void *ctx, char *resp); extern struct gsmd_atcmd *atcmd_fill(const char *cmd, int rlen, atcmd_cb_t *cb, void *ctx, u_int16_t id); extern int atcmd_submit(struct gsmd *g, struct gsmd_atcmd *cmd); +extern int cancel_atcmd(struct gsmd *g, struct gsmd_atcmd *cmd); extern int atcmd_init(struct gsmd *g, int sockfd); extern void atcmd_drain(int fd); -- cgit v1.2.3