FXS - fix VMWI compatibility mode:
authorTzafrir Cohen <tzafrir.cohen@xorcom.com>
Mon, 19 Jul 2010 13:28:02 +0000 (13:28 +0000)
committerTzafrir Cohen <tzafrir.cohen@xorcom.com>
Mon, 19 Jul 2010 13:28:02 +0000 (13:28 +0000)
commitf947b9086a0045f249ef1e95cc62d08b52aefb8c
tree40b59f9170ebf7395f674aecdbdeaaa70cd741f9
parentaab6c824fa9d6d9951c0ee89612c22276bb034ff
FXS - fix VMWI compatibility mode:

* If we have vmwi_ioctl=N, we should initialize the vmwi_type
  of all channels. We initialize it to HVAC
* Fix a regression, where curly braces around empty if()'s were removed.
* Also fix the VMWI_TYPE() macro, so it actually uses the 3'rd parameter.
  (this didn't cause damage yet, as we only used HVAC so far)

git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@8943 a0bf4364-ded3-4de4-8d8a-66a801d63aff
drivers/dahdi/xpp/card_fxs.c