Fix: Unregistering the agent in disable is wrong
authorDenis Kenzior <denkenz@gmail.com>
Sat, 13 Feb 2010 02:10:29 +0000 (20:10 -0600)
committerDenis Kenzior <denkenz@gmail.com>
Sat, 13 Feb 2010 02:10:29 +0000 (20:10 -0600)
commit766a0bcfa50069dbdfe7ddae7018e963e73f95ec
treed4f9030a9ab32ada013d2c15dffcd24e9cd3ff27
parent7194bd03a0846a09741ef71429d578cf6728d76a
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
plugins/hfp.c