aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/isdn/mISDN
diff options
context:
space:
mode:
authorAndreas Eversberg <jolly@eversberg.eu>2012-04-23 22:51:49 -0400
committerDavid S. Miller <davem@davemloft.net>2012-04-26 03:10:45 -0400
commit74fa9e5dff617e2e1e7688969f3492a6080bb6e1 (patch)
treee8bd6bcc9cff4718e4a1113189404935074c7a3c /drivers/isdn/mISDN
parent8dcf01fc009d12d01fd195ed95eaaee61178f21a (diff)
mISDN: Fix NULL pointer bug in if-condition of mISDN_dsp
Fix a bug (was introduced by a cut & paste error) in cases when dsp->conf was NULL. Signed-off-by: Andreas Eversberg <jolly@eversberg.eu> Signed-off-by: Karsten Keil <keil@b1-systems.de> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/isdn/mISDN')
-rw-r--r--drivers/isdn/mISDN/dsp_cmx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/isdn/mISDN/dsp_cmx.c b/drivers/isdn/mISDN/dsp_cmx.c
index 334feab060a1..b7589c2eecf5 100644
--- a/drivers/isdn/mISDN/dsp_cmx.c
+++ b/drivers/isdn/mISDN/dsp_cmx.c
@@ -1328,7 +1328,7 @@ dsp_cmx_send_member(struct dsp *dsp, int len, s32 *c, int members)
1328 } 1328 }
1329 if (dsp->conf && dsp->conf->software && dsp->conf->hardware) 1329 if (dsp->conf && dsp->conf->software && dsp->conf->hardware)
1330 tx_data_only = 1; 1330 tx_data_only = 1;
1331 if (dsp->conf->software && dsp->echo.hardware) 1331 if (dsp->echo.software && dsp->echo.hardware)
1332 tx_data_only = 1; 1332 tx_data_only = 1;
1333 } 1333 }
1334 1334