OSDN Git Service
(root)
/
sagit-ice-cold
/
kernel_xiaomi_msm8998.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8dcf01f
)
mISDN: Fix NULL pointer bug in if-condition of mISDN_dsp
author
Andreas Eversberg
<jolly@eversberg.eu>
Tue, 24 Apr 2012 02:51:49 +0000
(
02:51
+0000)
committer
David S. Miller
<davem@davemloft.net>
Thu, 26 Apr 2012 07:10:45 +0000
(
03:10
-0400)
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>
drivers/isdn/mISDN/dsp_cmx.c
patch
|
blob
|
history
diff --git
a/drivers/isdn/mISDN/dsp_cmx.c
b/drivers/isdn/mISDN/dsp_cmx.c
index
334feab
..
b7589c2
100644
(file)
--- 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;
}