[PATCH] airo: disable the PCI device when unloading module
authorMichal Schmidt <mschmidt@redhat.com>
Fri, 29 Jun 2007 13:33:30 +0000 (15:33 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 10 Jul 2007 18:11:28 +0000 (14:11 -0400)
commit777ec5e9cec521af617fc52a1c1ae24f68f4a43b
tree19f32c96204f5ff1ff60b28b6355519e87acc2f7
parenta62056f0b0cfdc175afd99fef80a68f01cdf0f4b
[PATCH] airo: disable the PCI device when unloading module

Fix an assymetry between pci_{enable,disable}_device. airo did not disable
the PCI device when unloading the module. This caused suspend failures
after modprobe -r airo && modprobe airo.

Signed-off-by: Michal Schmidt <mschmidt@redhat.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/airo.c