Netdev List
 help / color / mirror / Atom feed
* [PATCH 01/28] mISDN: Fix NULL pointer bug in if-condition of mISDN_dsp
@ 2012-03-17  9:27 Karsten Keil
  0 siblings, 0 replies; only message in thread
From: Karsten Keil @ 2012-03-17  9:27 UTC (permalink / raw)
  To: David Miller; +Cc: netdev, isdn4linux

From: Andreas Eversberg <jolly@eversberg.eu>
Fix bug in cases where dsp->conf was NULL.

Signed-off-by: Andreas Eversberg <jolly@eversberg.eu>
Signed-off-by: Karsten Keil <keil@b1-systems.de>
---
 drivers/isdn/mISDN/dsp_cmx.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/isdn/mISDN/dsp_cmx.c b/drivers/isdn/mISDN/dsp_cmx.c
index 334feab..b7589c2 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)
 		}
 		if (dsp->conf && dsp->conf->software && dsp->conf->hardware)
 			tx_data_only = 1;
-		if (dsp->conf->software && dsp->echo.hardware)
+		if (dsp->echo.software && dsp->echo.hardware)
 			tx_data_only = 1;
 	}
 
-- 
1.7.3.4

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2012-04-23 17:08 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-03-17  9:27 [PATCH 01/28] mISDN: Fix NULL pointer bug in if-condition of mISDN_dsp Karsten Keil

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox