mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [RFC] usb: option: blacklist ZTE MF667 net interface
@ 2014-02-09  8:59 Raymond Wanyoike
  2014-02-09 16:31 ` Greg KH
  0 siblings, 1 reply; 3+ messages in thread
From: Raymond Wanyoike @ 2014-02-09  8:59 UTC (permalink / raw)
  To: linux-usb; +Cc: linux-kernel, bjorn, Raymond Wanyoike

Interface #5 of 19d2:1270 is a net interface which has been submitted to the
qmi_wwan driver so consequently remove it from the option driver.

Signed-off-by: Raymond Wanyoike <raymond.wanyoike@gmail.com>
---
 drivers/usb/serial/option.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/drivers/usb/serial/option.c b/drivers/usb/serial/option.c
index 5c86f57..216d20a 100644
--- a/drivers/usb/serial/option.c
+++ b/drivers/usb/serial/option.c
@@ -1362,7 +1362,8 @@ static const struct usb_device_id option_ids[] = {
 	{ USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0x1267, 0xff, 0xff, 0xff) },
 	{ USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0x1268, 0xff, 0xff, 0xff) },
 	{ USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0x1269, 0xff, 0xff, 0xff) },
-	{ USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0x1270, 0xff, 0xff, 0xff) },
+	{ USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0x1270, 0xff, 0xff, 0xff),
+	  .driver_info = (kernel_ulong_t)&net_intf5_blacklist },
 	{ USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0x1271, 0xff, 0xff, 0xff) },
 	{ USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0x1272, 0xff, 0xff, 0xff) },
 	{ USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0x1273, 0xff, 0xff, 0xff) },
-- 
1.8.5.4


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [RFC] usb: option: blacklist ZTE MF667 net interface
  2014-02-09  8:59 [RFC] usb: option: blacklist ZTE MF667 net interface Raymond Wanyoike
@ 2014-02-09 16:31 ` Greg KH
  2014-02-11  5:37   ` Raymond W
  0 siblings, 1 reply; 3+ messages in thread
From: Greg KH @ 2014-02-09 16:31 UTC (permalink / raw)
  To: Raymond Wanyoike; +Cc: linux-usb, linux-kernel, bjorn

On Sun, Feb 09, 2014 at 11:59:46AM +0300, Raymond Wanyoike wrote:
> Interface #5 of 19d2:1270 is a net interface which has been submitted to the
> qmi_wwan driver so consequently remove it from the option driver.
> 
> Signed-off-by: Raymond Wanyoike <raymond.wanyoike@gmail.com>
> ---
>  drivers/usb/serial/option.c | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)

Why is this patch a "RFC"?

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [RFC] usb: option: blacklist ZTE MF667 net interface
  2014-02-09 16:31 ` Greg KH
@ 2014-02-11  5:37   ` Raymond W
  0 siblings, 0 replies; 3+ messages in thread
From: Raymond W @ 2014-02-11  5:37 UTC (permalink / raw)
  To: Greg KH; +Cc: linux-usb, linux-kernel

Sorry, first time, meant to be "PATCH".

On Sun, Feb 9, 2014 at 7:31 PM, Greg KH <gregkh@linuxfoundation.org> wrote:
> On Sun, Feb 09, 2014 at 11:59:46AM +0300, Raymond Wanyoike wrote:
>> Interface #5 of 19d2:1270 is a net interface which has been submitted to the
>> qmi_wwan driver so consequently remove it from the option driver.
>>
>> Signed-off-by: Raymond Wanyoike <raymond.wanyoike@gmail.com>
>> ---
>>  drivers/usb/serial/option.c | 3 ++-
>>  1 file changed, 2 insertions(+), 1 deletion(-)
>
> Why is this patch a "RFC"?



-- 
Raymond

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2014-02-11  5:37 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-02-09  8:59 [RFC] usb: option: blacklist ZTE MF667 net interface Raymond Wanyoike
2014-02-09 16:31 ` Greg KH
2014-02-11  5:37   ` Raymond W

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®