mISDN: Cleanup channel also if it already was deactivated
authorKarsten Keil <kkeil@linux-pingi.de>
Tue, 15 May 2012 23:51:01 +0000 (23:51 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 16 May 2012 19:22:06 +0000 (15:22 -0400)
commit1368112c07bae879fa3d1c21f236ca8eea3e5e84
tree3467a277cc350bbfaf3e98df9513d4209e63f984
parentdd456d45d7edd01f4054818dd404ec61ca55cbc1
mISDN: Cleanup channel also if it already was deactivated

If a channel was closed after it was deactivated it could happen that
something was not proper resetted. The test if a channel is still activ
was wrong, so remove it and always do the cleanup.

Signed-off-by: Karsten Keil <kkeil@linux-pingi.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/isdn/hardware/mISDN/avmfritz.c
drivers/isdn/hardware/mISDN/hfcmulti.c
drivers/isdn/hardware/mISDN/hfcpci.c
drivers/isdn/hardware/mISDN/hfcsusb.c
drivers/isdn/hardware/mISDN/mISDNipac.c
drivers/isdn/hardware/mISDN/mISDNisar.c
drivers/isdn/hardware/mISDN/netjet.c
drivers/isdn/hardware/mISDN/w6692.c