rtlwifi: Modify rtl_pci_init to return 0 on success
authorSimon Graham <simon.graham@virtualcomputer.com>
Thu, 9 Feb 2012 14:55:13 +0000 (09:55 -0500)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 9 Feb 2012 20:17:29 +0000 (15:17 -0500)
commitc27111e5b8d6b1e9296f7075cdc35872f672b524
tree44fc683ecd2b5cf186979b16f6a7c149e24675e1
parentb57e6b560fc2a2742910ac5ca0eb2c46e45aeac2
rtlwifi: Modify rtl_pci_init to return 0 on success

Fixes problem where caller would think routine succeeded when it failed
leading to divide by zero panic.

Signed-off-by: Simon Graham <simon.graham@virtualcomputer.com>
Acked-by: Larry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/rtlwifi/pci.c