mISDN: Minor fixes

minor typo fix
compiler warning fix

Signed-off-by: Andreas Eversberg <andreas@eversberg.eu>
Signed-off-by: Karsten Keil <kkeil@suse.de>
This commit is contained in:
Andreas Eversberg 2008-09-20 13:43:28 +02:00 committed by Karsten Keil
parent 9a812553bd
commit 1b36c78f26
2 changed files with 2 additions and 2 deletions

View File

@ -135,7 +135,7 @@
* This register is needed for the TBR3 certification, so don't change it.
*
* clock:
* NOTE: only one clockdelay_te value must be given once
* NOTE: only one clock value must be given once
* Selects interface with clock source for mISDN and applications.
* Set to card number starting with 1. Set to -1 to disable.
* By default, the first card is used as clock source.

View File

@ -981,7 +981,7 @@ channel_dctrl(struct dchannel *dch, struct mISDN_ctrl_req *cq)
if (debug & DEBUG_L1OIP_SOCKET)
printk(KERN_DEBUG "%s: getting ip address.\n",
__func__);
(u32)cq->p1 = hc->remoteip;
cq->p1 = hc->remoteip;
cq->p2 = hc->remoteport | (hc->localport << 16);
break;
default: