Merge "USB: qc_rndis: Fix aggregation parameters settings issue"
This commit is contained in:
commit
00b3ef62c0
2 changed files with 2 additions and 1 deletions
|
@ -1257,7 +1257,7 @@ usb_function *rndis_qc_bind_config_vendor(struct usb_function_instance *fi,
|
|||
|
||||
static struct usb_function *qcrndis_alloc(struct usb_function_instance *fi)
|
||||
{
|
||||
return rndis_qc_bind_config_vendor(fi, 0, NULL, 1, 0);
|
||||
return rndis_qc_bind_config_vendor(fi, 0, NULL, 0, 0);
|
||||
}
|
||||
|
||||
static int rndis_qc_open_dev(struct inode *ip, struct file *fp)
|
||||
|
|
|
@ -816,6 +816,7 @@ int rndis_msg_parser(struct rndis_params *params, u8 *buf)
|
|||
case RNDIS_MSG_INIT:
|
||||
pr_debug("%s: RNDIS_MSG_INIT\n",
|
||||
__func__);
|
||||
tmp++; /* to get RequestID */
|
||||
major = get_unaligned_le32(tmp++);
|
||||
minor = get_unaligned_le32(tmp++);
|
||||
max_transfer_size = get_unaligned_le32(tmp++);
|
||||
|
|
Loading…
Add table
Reference in a new issue