From 766a0bcfa50069dbdfe7ddae7018e963e73f95ec Mon Sep 17 00:00:00 2001 From: Denis Kenzior Date: Fri, 12 Feb 2010 20:10:29 -0600 Subject: 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. --- drivers/hfpmodem/hfpmodem.h | 1 + 1 file changed, 1 insertion(+) (limited to 'drivers') 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(); -- cgit v1.2.3