dev->ethtool_ops = &ipw2100_ethtool_ops;
dev->wireless_handlers = &ipw2100_wx_handler_def;
priv->wireless_data.ieee80211 = priv->ieee;
---- a/drivers/net/wireless/ipw2x00/ipw2200.c 2009-07-21 13:18:54.353940665 -0700
-+++ b/drivers/net/wireless/ipw2x00/ipw2200.c 2009-07-21 13:18:54.537944910 -0700
-@@ -11525,6 +11525,7 @@
+--- a/drivers/net/wireless/ipw2x00/ipw2200.c 2009-08-20 13:47:07.311291621 -0700
++++ b/drivers/net/wireless/ipw2x00/ipw2200.c 2009-08-20 13:47:07.783268230 -0700
+@@ -11524,6 +11524,7 @@
return NETDEV_TX_OK;
}
static const struct net_device_ops ipw_prom_netdev_ops = {
.ndo_open = ipw_prom_open,
.ndo_stop = ipw_prom_stop,
-@@ -11533,6 +11534,7 @@
+@@ -11532,6 +11533,7 @@
.ndo_set_mac_address = eth_mac_addr,
.ndo_validate_addr = eth_validate_addr,
};
static int ipw_prom_alloc(struct ipw_priv *priv)
{
-@@ -11553,7 +11555,13 @@
+@@ -11552,7 +11554,13 @@
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);
-@@ -11581,6 +11589,7 @@
+@@ -11580,6 +11588,7 @@
#endif
static const struct net_device_ops ipw_netdev_ops = {
.ndo_init = ipw_net_init,
.ndo_open = ipw_net_open,
-@@ -11591,6 +11600,7 @@
+@@ -11590,6 +11599,7 @@
.ndo_change_mtu = ieee80211_change_mtu,
.ndo_validate_addr = eth_validate_addr,
};
static int __devinit ipw_pci_probe(struct pci_dev *pdev,
const struct pci_device_id *ent)
-@@ -11692,7 +11702,15 @@
+@@ -11691,7 +11701,15 @@
priv->ieee->perfect_rssi = -20;
priv->ieee->worst_rssi = -85;
/* causes rfkill_start() to be called */
error = input_register_handle(handle);
---- a/net/rfkill/core.c 2009-08-04 10:54:43.078999821 -0700
-+++ b/net/rfkill/core.c 2009-08-04 10:54:43.555024585 -0700
+--- a/net/rfkill/core.c 2009-08-20 13:48:36.083267397 -0700
++++ b/net/rfkill/core.c 2009-08-20 13:48:37.051267098 -0700
@@ -26,7 +26,7 @@
#include <linux/capability.h>
#include <linux/list.h>
static long rfkill_fop_ioctl(struct file *file, unsigned int cmd,
unsigned long arg)
{
-@@ -1193,9 +1193,9 @@
+@@ -1193,7 +1193,7 @@
.write = rfkill_fop_write,
.poll = rfkill_fop_poll,
.release = rfkill_fop_release,
.unlocked_ioctl = rfkill_fop_ioctl,
.compat_ioctl = rfkill_fop_ioctl,
#endif
- };
-
@@ -1223,7 +1223,7 @@
goto out;
}