dev->irq = sdev->irq;
SET_ETHTOOL_OPS(dev, &b44_ethtool_ops);
---- a/net/mac80211/iface.c 2009-03-20 19:55:10.000000000 -0700
-+++ b/net/mac80211/iface.c 2009-03-20 19:55:18.000000000 -0700
-@@ -669,6 +669,7 @@
+--- a/net/mac80211/iface.c 2009-03-24 18:33:11.000000000 -0700
++++ b/net/mac80211/iface.c 2009-03-24 18:33:18.000000000 -0700
+@@ -671,6 +671,7 @@
WARN_ON(flushed);
}
static const struct net_device_ops ieee80211_dataif_ops = {
.ndo_open = ieee80211_open,
.ndo_stop = ieee80211_stop,
-@@ -688,11 +689,22 @@
+@@ -690,11 +691,22 @@
.ndo_change_mtu = ieee80211_change_mtu,
.ndo_set_mac_address = eth_mac_addr,
};
dev->wireless_handlers = &ieee80211_iw_handler_def;
dev->destructor = free_netdev;
}
-@@ -708,7 +720,11 @@
+@@ -710,7 +722,11 @@
/* and set some type-dependent values */
sdata->vif.type = type;
sdata->wdev.iftype = type;
/* only monitor differs */
-@@ -731,7 +747,11 @@
+@@ -733,7 +749,11 @@
break;
case NL80211_IFTYPE_MONITOR:
sdata->dev->type = ARPHRD_IEEE80211_RADIOTAP;
sdata->u.mntr_flags = MONITOR_FLAG_CONTROL |
MONITOR_FLAG_OTHER_BSS;
break;
-@@ -838,6 +858,10 @@
+@@ -840,6 +860,10 @@
if (ret)
goto fail;