priv->wireless_data.libipw = priv->ieee;
--- a/drivers/net/wireless/ipw2x00/ipw2200.c
+++ b/drivers/net/wireless/ipw2x00/ipw2200.c
-@@ -11650,6 +11650,7 @@ static netdev_tx_t ipw_prom_hard_start_x
+@@ -11649,6 +11649,7 @@ static netdev_tx_t ipw_prom_hard_start_x
return NETDEV_TX_OK;
}
static const struct net_device_ops ipw_prom_netdev_ops = {
.ndo_open = ipw_prom_open,
.ndo_stop = ipw_prom_stop,
-@@ -11658,6 +11659,7 @@ static const struct net_device_ops ipw_p
+@@ -11657,6 +11658,7 @@ static const struct net_device_ops ipw_p
.ndo_set_mac_address = eth_mac_addr,
.ndo_validate_addr = eth_validate_addr,
};
static int ipw_prom_alloc(struct ipw_priv *priv)
{
-@@ -11678,7 +11680,13 @@ static int ipw_prom_alloc(struct ipw_pri
+@@ -11677,7 +11679,13 @@ static int ipw_prom_alloc(struct ipw_pri
memcpy(priv->prom_net_dev->dev_addr, priv->mac_addr, ETH_ALEN);
priv->prom_net_dev->type = ARPHRD_IEEE80211_RADIOTAP;
priv->prom_priv->ieee->iw_mode = IW_MODE_MONITOR;
SET_NETDEV_DEV(priv->prom_net_dev, &priv->pci_dev->dev);
-@@ -11706,6 +11714,7 @@ static void ipw_prom_free(struct ipw_pri
+@@ -11705,6 +11713,7 @@ static void ipw_prom_free(struct ipw_pri
#endif
static const struct net_device_ops ipw_netdev_ops = {
.ndo_init = ipw_net_init,
.ndo_open = ipw_net_open,
-@@ -11716,6 +11725,7 @@ static const struct net_device_ops ipw_n
+@@ -11715,6 +11724,7 @@ static const struct net_device_ops ipw_n
.ndo_change_mtu = libipw_change_mtu,
.ndo_validate_addr = eth_validate_addr,
};
static int __devinit ipw_pci_probe(struct pci_dev *pdev,
const struct pci_device_id *ent)
-@@ -11817,7 +11827,15 @@ static int __devinit ipw_pci_probe(struc
+@@ -11816,7 +11826,15 @@ static int __devinit ipw_pci_probe(struc
priv->ieee->perfect_rssi = -20;
priv->ieee->worst_rssi = -85;
--- a/drivers/net/wireless/libertas/main.c
+++ b/drivers/net/wireless/libertas/main.c
-@@ -885,6 +885,7 @@ static void lbs_free_adapter(struct lbs_
+@@ -886,6 +886,7 @@ static void lbs_free_adapter(struct lbs_
lbs_deb_leave(LBS_DEB_MAIN);
}
static const struct net_device_ops lbs_netdev_ops = {
.ndo_open = lbs_dev_open,
.ndo_stop = lbs_eth_stop,
-@@ -895,6 +896,7 @@ static const struct net_device_ops lbs_n
+@@ -896,6 +897,7 @@ static const struct net_device_ops lbs_n
.ndo_change_mtu = eth_change_mtu,
.ndo_validate_addr = eth_validate_addr,
};
/**
* @brief This function adds the card. it will probe the
-@@ -940,7 +942,16 @@ struct lbs_private *lbs_add_card(void *c
+@@ -941,7 +943,16 @@ struct lbs_private *lbs_add_card(void *c
wdev->netdev = dev;
priv->dev = dev;
dev->watchdog_timeo = 5 * HZ;
dev->ethtool_ops = &lbs_ethtool_ops;
#ifdef WIRELESS_EXT
-@@ -1246,11 +1257,13 @@ out:
+@@ -1247,11 +1258,13 @@ out:
lbs_deb_leave(LBS_DEB_MAIN);
}
static int lbs_add_rtap(struct lbs_private *priv)
{
-@@ -1271,7 +1284,13 @@ static int lbs_add_rtap(struct lbs_priva
+@@ -1272,7 +1285,13 @@ static int lbs_add_rtap(struct lbs_priva
memcpy(rtap_dev->dev_addr, priv->current_addr, ETH_ALEN);
rtap_dev->type = ARPHRD_IEEE80211_RADIOTAP;