summaryrefslogtreecommitdiff
path: root/drivers/usb/gadget/function/rndis.c
diff options
context:
space:
mode:
authorAndrzej Pietrasiewicz <andrzej.p@samsung.com>2015-05-18 18:40:02 +0300
committerFelipe Balbi <balbi@ti.com>2015-05-22 00:28:55 +0300
commit868055fdd2399cbb0cb3fe0cd7b5047a3a77b8b9 (patch)
treed2273c10a9c62bbb9e6951f05fd87df00d1c63fd /drivers/usb/gadget/function/rndis.c
parent88a25e02f35e56a6686d94fa334b7f00e9b72623 (diff)
downloadlinux-868055fdd2399cbb0cb3fe0cd7b5047a3a77b8b9.tar.xz
usb: gadget: rndis: change the value passed to rndis_signal_(dis)connect()
The patch: 83210e59ee1527f229af6aef78c95b747bdcf9c4 usb: gadget: rndis: use rndis_params instead of configNr should change all invocations of rndis_signal_(dis)connect(). This patch fixes that. Signed-off-by: Andrzej Pietrasiewicz <andrzej.p@samsung.com> Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'drivers/usb/gadget/function/rndis.c')
-rw-r--r--drivers/usb/gadget/function/rndis.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/usb/gadget/function/rndis.c b/drivers/usb/gadget/function/rndis.c
index dd6800017ade..f626a63bbdba 100644
--- a/drivers/usb/gadget/function/rndis.c
+++ b/drivers/usb/gadget/function/rndis.c
@@ -1144,11 +1144,11 @@ static ssize_t rndis_proc_write(struct file *file, const char __user *buffer,
break;
case 'C':
case 'c':
- rndis_signal_connect(p->confignr);
+ rndis_signal_connect(p);
break;
case 'D':
case 'd':
- rndis_signal_disconnect(p->confignr);
+ rndis_signal_disconnect(p);
break;
default:
if (fl_speed) p->speed = speed;