b43/legacy: Fix usage of host_pci pointer
authorMichael Buesch <mb@bu3sch.de>
Fri, 9 Oct 2009 18:30:10 +0000 (20:30 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 27 Oct 2009 20:47:55 +0000 (16:47 -0400)
commit899110fe4e1b26f7a13e639c57e2a047d21bffa2
tree7bfdb08107df98db149ad1325a3b366ef3f1b01c
parent332c556633b8c5fb4e890b1783122f2315526590
b43/legacy: Fix usage of host_pci pointer

We must check the bustype before using the host_pci pointer.

Signed-off-by: Michael Buesch <mb@bu3sch.de>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/b43/main.c
drivers/net/wireless/b43legacy/main.c