netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* hso: remove usb_driver_claim_interface()
@ 2008-09-10  9:06 Paulius Zaleckas
  2008-09-10 10:44 ` Denis Joseph Barrow
  0 siblings, 1 reply; 7+ messages in thread
From: Paulius Zaleckas @ 2008-09-10  9:06 UTC (permalink / raw)
  To: linux-usb, netdev; +Cc: D.Barow

[-- Attachment #1: Type: text/plain, Size: 0 bytes --]



[-- Attachment #2: hso-no-claim-interface.patch --]
[-- Type: text/x-patch, Size: 587 bytes --]

No need to reclaim the same USB interface beeing probed.

Signed-off-by: Paulius Zaleckas <paulius.zaleckas@teltonika.lt>
Cc: Denis Joseph Barrow <D.Barow@option.com>

Index: linux-2.6/drivers/net/usb/hso.c
===================================================================
--- linux-2.6.orig/drivers/net/usb/hso.c
+++ linux-2.6/drivers/net/usb/hso.c
@@ -2487,8 +2487,6 @@ static int hso_probe(struct usb_interfac
 		goto exit;
 	}
 
-	usb_driver_claim_interface(&hso_driver, interface, hso_dev);
-
 	/* save our data pointer in this device */
 	usb_set_intfdata(interface, hso_dev);
 

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

end of thread, other threads:[~2008-09-10 13:55 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-09-10  9:06 hso: remove usb_driver_claim_interface() Paulius Zaleckas
2008-09-10 10:44 ` Denis Joseph Barrow
     [not found]   ` <48C7A4F5.2070607-x9gZzRpC1QbQT0dZR+AlfA@public.gmane.org>
2008-09-10 11:26     ` Paulius Zaleckas
2008-09-10 11:34       ` Denis Joseph Barrow
2008-09-10 11:44         ` Paulius Zaleckas
2008-09-10 11:56           ` Denis Joseph Barrow
2008-09-10 13:55   ` Alan Stern

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).