Message ID | 1415451582-5610-1-git-send-email-hauke@hauke-m.de (mailing list archive) |
---|---|
State | Not Applicable, archived |
Headers | show |
On 8 November 2014 13:59, Hauke Mehrtens <hauke@hauke-m.de> wrote: > phy_read and phy_write are not set for every phy any more sine this: > commit d342b95dd735014a590f9051b1ba227eb54ca8f6 Looks OK, thanks for your patch! -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
diff --git a/drivers/net/wireless/b43/phy_common.c b/drivers/net/wireless/b43/phy_common.c index 1dfc682..ee27b06 100644 --- a/drivers/net/wireless/b43/phy_common.c +++ b/drivers/net/wireless/b43/phy_common.c @@ -300,9 +300,7 @@ void b43_phy_write(struct b43_wldev *dev, u16 reg, u16 value) void b43_phy_copy(struct b43_wldev *dev, u16 destreg, u16 srcreg) { - assert_mac_suspended(dev); - dev->phy.ops->phy_write(dev, destreg, - dev->phy.ops->phy_read(dev, srcreg)); + b43_phy_write(dev, destreg, b43_phy_read(dev, srcreg)); } void b43_phy_mask(struct b43_wldev *dev, u16 offset, u16 mask)