linux/drivers/net/usb
Jonathan McDowell 939a951641 [netdrvr] usb/hso: Cleanup rfkill error handling
Yup, this appears to be the problem, thanks. I think &hso_net->net->dev
is more intuitive for the error message, so I've used that. I've also
added missing line endings on the error messages and set our local
rfkill structure element to NULL on failure so we don't try to call
rfkill_unregister on driver removal if we failed to register at all.

The patch below Works For Me (TM); the device is detected fine, can be
removed without problems and connects ok. I'll have a prod at why the
rfkill stuff isn't working next, but I believe this cleanup of the error
handling is appropriate no matter what the issue with registration is.

Signed-Off-By: Jonathan McDowell <noodles@earth.li>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
2008-11-07 03:33:45 -05:00
..
asix.c net/usb: add support for Apple USB Ethernet Adapter 2008-05-22 06:19:30 -04:00
catc.c USB: remove info() macro from usb network drivers 2008-10-17 14:41:10 -07:00
cdc_ether.c rndis_host: support WM6 devices as modems 2008-07-22 19:45:49 -04:00
cdc_subset.c USB: build fix 2008-05-20 14:14:15 -07:00
dm9601.c dm9601: runtime mac address change support 2008-10-27 15:13:29 -04:00
gl620a.c
hso.c [netdrvr] usb/hso: Cleanup rfkill error handling 2008-11-07 03:33:45 -05:00
kaweth.c USB: remove info() macro from usb network drivers 2008-10-17 14:41:10 -07:00
Kconfig net: Add SMSC LAN9500 USB2.0 10/100 ethernet adapter driver 2008-10-08 16:44:18 -07:00
Makefile drivers/net/usb/Makefile - shrink logspam 2008-10-08 17:07:40 -07:00
mcs7830.c drivers/net: replace __FUNCTION__ with __func__ 2008-09-24 18:59:00 -04:00
net1080.c
pegasus.c misc: replace remaining __FUNCTION__ with __func__ 2008-10-20 16:17:42 -07:00
pegasus.h
plusb.c
rndis_host.c rndis_host: support WM6 devices as modems 2008-07-22 19:45:49 -04:00
rtl8150.c USB: remove info() macro from usb network drivers 2008-10-17 14:41:10 -07:00
smsc95xx.c smsc95xx: fix usb usage on big endian platforms 2008-10-09 14:34:47 -07:00
smsc95xx.h net: Add SMSC LAN9500 USB2.0 10/100 ethernet adapter driver 2008-10-08 16:44:18 -07:00
usbnet.c usbnet: Use skb_queue_walk_safe() instead of by-hand implementation. 2008-09-22 20:18:47 -07:00
zaurus.c