drivers/net/wireless/{airo,ipw2100}: fix error handling bugs
authorJeff Garzik <jeff@garzik.org>
Sun, 1 Oct 2006 11:31:09 +0000 (07:31 -0400)
committerJeff Garzik <jeff@garzik.org>
Sun, 1 Oct 2006 11:31:09 +0000 (07:31 -0400)
commitde897881e474cae06cf06c830fcadc916c53ce64
tree5138cedb1f9e7b97f9ac1bb321d28b4ce50f2cda
parentb7a00ecd557859c4037b6465fdd6c9a49b1fa649
drivers/net/wireless/{airo,ipw2100}: fix error handling bugs

airo:
* fix oops, if !CONFIG_PROC_FS (create_proc_entry always returns NULL)

* handle pci_register_driver() failure.  if it fails, we really do
  want to exit, rather than (as a comment indicates) return success
  because-we-are-a-library.

* #if 0 have_isa_dev variable, which is assigned a value but never used

ipw2100:
* handle sysfs_create_group() failure

* handle driver_create_file() failure

Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/net/wireless/airo.c
drivers/net/wireless/ipw2100.c