stemodem: Fix handling of local_release
authorMarit Henriksen <marit.henriksen@stericsson.com>
Thu, 3 Feb 2011 13:15:45 +0000 (14:15 +0100)
committerDenis Kenzior <denkenz@gmail.com>
Thu, 3 Feb 2011 16:19:31 +0000 (10:19 -0600)
commitaad3b22924a80961a6fe4b5f1f8fa7cae19663b5
tree4eb2095c6826109b38c98af9527884af0349d67e
parentc1603c77ccc4c5c99f1c10401acff9ad6cfb6296
stemodem: Fix handling of local_release

- Reset local_release when call is disconnected.
- Change bitmap for affected types, ste_hangup is only called when
  call state is Incoming, Dialing, Alerting or Active.
- Used macros instead of numbers when creating bitmaps.
drivers/stemodem/voicecall.c