summaryrefslogtreecommitdiffstats
path: root/drivers/hfpmodem/hfpmodem.h
diff options
context:
space:
mode:
authorDenis Kenzior <denkenz@gmail.com>2010-02-12 20:10:29 -0600
committerDenis Kenzior <denkenz@gmail.com>2010-02-12 20:10:29 -0600
commit766a0bcfa50069dbdfe7ddae7018e963e73f95ec (patch)
treed4f9030a9ab32ada013d2c15dffcd24e9cd3ff27 /drivers/hfpmodem/hfpmodem.h
parent7194bd03a0846a09741ef71429d578cf6728d76a (diff)
downloadofono-766a0bcfa50069dbdfe7ddae7018e963e73f95ec.tar.bz2
Fix: Unregistering the agent in disable is wrong
What we really want to do here is set a flag that the agent has not been released yet. If this is the case we should send the Disconnect call on disable.
Diffstat (limited to 'drivers/hfpmodem/hfpmodem.h')
-rw-r--r--drivers/hfpmodem/hfpmodem.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/hfpmodem/hfpmodem.h b/drivers/hfpmodem/hfpmodem.h
index 6ec8a7ce..c95ea3fd 100644
--- a/drivers/hfpmodem/hfpmodem.h
+++ b/drivers/hfpmodem/hfpmodem.h
@@ -71,6 +71,7 @@ struct hfp_data {
unsigned int hf_features;
unsigned char cind_pos[HFP_INDICATOR_LAST];
unsigned int cind_val[HFP_INDICATOR_LAST];
+ gboolean agent_registered;
};
extern void hfp_netreg_init();