Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6
Conflicts: drivers/infiniband/core/iwcm.c drivers/net/chelsio/cxgb2.c drivers/net/wireless/bcm43xx/bcm43xx_main.c drivers/net/wireless/prism54/islpci_eth.c drivers/usb/core/hub.h drivers/usb/input/hid-core.c net/core/netpoll.c Fix up merge failures with Linus's head and fix new compilation failures. Signed-Off-By: David Howells <dhowells@redhat.com>
This commit is contained in:
@@ -5833,19 +5833,6 @@ static void ipw2100_tx_timeout(struct net_device *dev)
|
||||
schedule_reset(priv);
|
||||
}
|
||||
|
||||
/*
|
||||
* TODO: reimplement it so that it reads statistics
|
||||
* from the adapter using ordinal tables
|
||||
* instead of/in addition to collecting them
|
||||
* in the driver
|
||||
*/
|
||||
static struct net_device_stats *ipw2100_stats(struct net_device *dev)
|
||||
{
|
||||
struct ipw2100_priv *priv = ieee80211_priv(dev);
|
||||
|
||||
return &priv->ieee->stats;
|
||||
}
|
||||
|
||||
static int ipw2100_wpa_enable(struct ipw2100_priv *priv, int value)
|
||||
{
|
||||
/* This is called when wpa_supplicant loads and closes the driver
|
||||
@@ -6030,7 +6017,6 @@ static struct net_device *ipw2100_alloc_device(struct pci_dev *pci_dev,
|
||||
dev->open = ipw2100_open;
|
||||
dev->stop = ipw2100_close;
|
||||
dev->init = ipw2100_net_init;
|
||||
dev->get_stats = ipw2100_stats;
|
||||
dev->ethtool_ops = &ipw2100_ethtool_ops;
|
||||
dev->tx_timeout = ipw2100_tx_timeout;
|
||||
dev->wireless_handlers = &ipw2100_wx_handler_def;
|
||||
@@ -6428,6 +6414,7 @@ static int ipw2100_resume(struct pci_dev *pci_dev)
|
||||
{
|
||||
struct ipw2100_priv *priv = pci_get_drvdata(pci_dev);
|
||||
struct net_device *dev = priv->net_dev;
|
||||
int err;
|
||||
u32 val;
|
||||
|
||||
if (IPW2100_PM_DISABLED)
|
||||
@@ -6438,7 +6425,12 @@ static int ipw2100_resume(struct pci_dev *pci_dev)
|
||||
IPW_DEBUG_INFO("%s: Coming out of suspend...\n", dev->name);
|
||||
|
||||
pci_set_power_state(pci_dev, PCI_D0);
|
||||
pci_enable_device(pci_dev);
|
||||
err = pci_enable_device(pci_dev);
|
||||
if (err) {
|
||||
printk(KERN_ERR "%s: pci_enable_device failed on resume\n",
|
||||
dev->name);
|
||||
return err;
|
||||
}
|
||||
pci_restore_state(pci_dev);
|
||||
|
||||
/*
|
||||
@@ -7573,11 +7565,10 @@ static int ipw2100_wx_set_genie(struct net_device *dev,
|
||||
return -EINVAL;
|
||||
|
||||
if (wrqu->data.length) {
|
||||
buf = kmalloc(wrqu->data.length, GFP_KERNEL);
|
||||
buf = kmemdup(extra, wrqu->data.length, GFP_KERNEL);
|
||||
if (buf == NULL)
|
||||
return -ENOMEM;
|
||||
|
||||
memcpy(buf, extra, wrqu->data.length);
|
||||
kfree(ieee->wpa_ie);
|
||||
ieee->wpa_ie = buf;
|
||||
ieee->wpa_ie_len = wrqu->data.length;
|
||||
|
Reference in New Issue
Block a user