mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 03:27:44 -04:00
Merge branch 'linus' into irq/core
Merge reason: update to almost-final-.36 Signed-off-by: Ingo Molnar <[email protected]>
This commit is contained in:
commit
14d4962dc8
331 changed files with 2628 additions and 1493 deletions
|
|
@ -112,11 +112,19 @@ irqreturn_t interrupt_handler(int dummy, void *card_inst)
|
|||
}
|
||||
else if(callid>=0x0000 && callid<=0x7FFF)
|
||||
{
|
||||
int len;
|
||||
|
||||
pr_debug("%s: Got Incoming Call\n",
|
||||
sc_adapter[card]->devicename);
|
||||
strcpy(setup.phone,&(rcvmsg.msg_data.byte_array[4]));
|
||||
strcpy(setup.eazmsn,
|
||||
sc_adapter[card]->channel[rcvmsg.phy_link_no-1].dn);
|
||||
len = strlcpy(setup.phone, &(rcvmsg.msg_data.byte_array[4]),
|
||||
sizeof(setup.phone));
|
||||
if (len >= sizeof(setup.phone))
|
||||
continue;
|
||||
len = strlcpy(setup.eazmsn,
|
||||
sc_adapter[card]->channel[rcvmsg.phy_link_no - 1].dn,
|
||||
sizeof(setup.eazmsn));
|
||||
if (len >= sizeof(setup.eazmsn))
|
||||
continue;
|
||||
setup.si1 = 7;
|
||||
setup.si2 = 0;
|
||||
setup.plan = 0;
|
||||
|
|
@ -176,7 +184,9 @@ irqreturn_t interrupt_handler(int dummy, void *card_inst)
|
|||
* Handle a GetMyNumber Rsp
|
||||
*/
|
||||
if (IS_CE_MESSAGE(rcvmsg,Call,0,GetMyNumber)){
|
||||
strcpy(sc_adapter[card]->channel[rcvmsg.phy_link_no-1].dn,rcvmsg.msg_data.byte_array);
|
||||
strlcpy(sc_adapter[card]->channel[rcvmsg.phy_link_no - 1].dn,
|
||||
rcvmsg.msg_data.byte_array,
|
||||
sizeof(rcvmsg.msg_data.byte_array));
|
||||
continue;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue