brcmsmac: handle non PCI devices in the phy code
authorHauke Mehrtens <hauke@hauke-m.de>
Sat, 30 Jun 2012 13:16:21 +0000 (15:16 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 10 Jul 2012 16:16:57 +0000 (12:16 -0400)
commitdb00348471b3858d74486e3fbb85922be5340ca6
tree16a7832fdf384849eb76530ae29f60948c7571eb
parentae0146f987cd4f4702ce9764a395d3aa1cff9777
brcmsmac: handle non PCI devices in the phy code

Some code in write_{radio,radio}_reg() should just be run if this is a
pci based device. Add the condition again which was removed in commit:
commit 821e4e93172e4f7d5ac1eade04665c3dc5049c4a
Author: Roland Vossen <rvossen@broadcom.com>
Date:   Mon Aug 8 15:58:58 2011 +0200

    staging: brcm80211: removed unused bus code from softmac

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Acked-by: Arend van Spriel <arend@broadcom.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/brcm80211/brcmsmac/phy/phy_cmn.c