update zd1211rw-d80211. Signed-off-by: Johannes Berg <johannes@xxxxxxxxxxxxxxxx> --- drivers/net/wireless/d80211/zd1211rw/zd_mac.c | 6 +++--- drivers/net/wireless/d80211/zd1211rw/zd_usb.c | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) --- wireless-dev.orig/drivers/net/wireless/d80211/zd1211rw/zd_mac.c 2007-02-09 17:08:20.773840519 +0100 +++ wireless-dev/drivers/net/wireless/d80211/zd1211rw/zd_mac.c 2007-02-09 17:08:56.243840519 +0100 @@ -54,7 +54,7 @@ int zd_mac_init_hw(struct ieee80211_hw * goto disable_int; ZD_ASSERT(!irqs_disabled()); spin_lock_irq(&mac->lock); - memcpy(dev->perm_addr, addr, ETH_ALEN); + SET_IEEE80211_PERM_ADDR(dev, addr); spin_unlock_irq(&mac->lock); r = zd_read_regdomain(chip, &default_regdomain); @@ -589,7 +589,7 @@ struct ieee80211_hw *zd_mac_alloc(struct mac->dev = dev; mac->mode = IEEE80211_IF_TYPE_MGMT; - mac->hwaddr = dev->perm_addr; + mac->hwaddr = dev->wiphy->perm_addr; mac->requested_channel = 1; memcpy(mac->channels, zd_channels, sizeof(zd_channels)); @@ -625,7 +625,7 @@ struct ieee80211_hw *zd_mac_alloc(struct housekeeping_init(mac); SET_MODULE_OWNER(dev); - dev->dev = &intf->dev; + SET_IEEE80211_DEV(dev, &intf->dev); return dev; } --- wireless-dev.orig/drivers/net/wireless/d80211/zd1211rw/zd_usb.c 2007-02-09 17:08:21.003840519 +0100 +++ wireless-dev/drivers/net/wireless/d80211/zd1211rw/zd_usb.c 2007-02-09 17:08:56.253840519 +0100 @@ -1062,7 +1062,7 @@ static int probe(struct usb_interface *i } dev_dbg_f(&intf->dev, "successful\n"); - dev_info(&intf->dev,"wiphy%d\n", dev->index); + dev_info(&intf->dev,"wiphy%d\n", dev->wiphy->wiphy_index); return 0; error: usb_reset_device(interface_to_usbdev(intf)); -- - To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html