--- a/drivers/net/usb/rndis_host.c
+++ b/drivers/net/usb/rndis_host.c
-@@ -355,7 +355,7 @@ generic_rndis_bind(struct usbnet *dev, s
+@@ -358,7 +358,7 @@ generic_rndis_bind(struct usbnet *dev, s
dev->rx_urb_size &= ~(dev->maxpacket - 1);
u.init->max_transfer_size = cpu_to_le32(dev->rx_urb_size);
if (unlikely(retval < 0)) {
--- a/drivers/net/usb/usbnet.c
+++ b/drivers/net/usb/usbnet.c
-@@ -1388,7 +1388,7 @@ usbnet_probe (struct usb_interface *udev
+@@ -1410,7 +1410,7 @@ usbnet_probe (struct usb_interface *udev
net->features |= NETIF_F_HIGHDMA;
#endif
--- a/drivers/net/wireless/rndis_wlan.c
+++ b/drivers/net/wireless/rndis_wlan.c
-@@ -3463,7 +3463,7 @@ static int rndis_wlan_bind(struct usbnet
+@@ -3450,7 +3450,7 @@ static int rndis_wlan_bind(struct usbnet
* rndis_host wants to avoid all OID as much as possible
* so do promisc/multicast handling in rndis_wlan.
*/
- usbdev->net->netdev_ops = &rndis_wlan_netdev_ops;
+ netdev_attach_ops(usbdev->net, &rndis_wlan_netdev_ops);
- tmp = RNDIS_PACKET_TYPE_DIRECTED | RNDIS_PACKET_TYPE_BROADCAST;
- retval = rndis_set_oid(usbdev, OID_GEN_CURRENT_PACKET_FILTER, &tmp,
+ tmp = cpu_to_le32(RNDIS_PACKET_TYPE_DIRECTED | RNDIS_PACKET_TYPE_BROADCAST);
+ retval = rndis_set_oid(usbdev,
--- a/drivers/net/ethernet/broadcom/b44.c
+++ b/drivers/net/ethernet/broadcom/b44.c
@@ -2159,7 +2159,7 @@ static int __devinit b44_init_one(struct
--- a/drivers/net/wireless/mac80211_hwsim.c
+++ b/drivers/net/wireless/mac80211_hwsim.c
-@@ -1290,7 +1290,7 @@ static const struct net_device_ops hwsim
+@@ -1295,7 +1295,7 @@ static const struct net_device_ops hwsim
static void hwsim_mon_setup(struct net_device *dev)
{
--- a/drivers/net/usb/rndis_host.c
+++ b/drivers/net/usb/rndis_host.c
-@@ -329,6 +329,11 @@ generic_rndis_bind(struct usbnet *dev, s
+@@ -332,6 +332,11 @@ generic_rndis_bind(struct usbnet *dev, s
u.init->major_version = cpu_to_le32(1);
u.init->minor_version = cpu_to_le32(0);
/* Data structure for the WLAN parts (802.11 cores) of the b43 chip. */
--- a/drivers/net/wireless/ti/wlcore/main.c
+++ b/drivers/net/wireless/ti/wlcore/main.c
-@@ -4986,14 +4986,25 @@ int __devinit wlcore_probe(struct wl1271
+@@ -5287,14 +5287,25 @@ int __devinit wlcore_probe(struct wl1271
platform_set_drvdata(pdev, wl);
if (ret < 0) {
wl1271_error("request_irq() failed: %d", ret);
goto out_free_hw;
-@@ -5047,7 +5058,11 @@ out_bt_coex_state:
+@@ -5353,7 +5364,11 @@ out_bt_coex_state:
device_remove_file(wl->dev, &dev_attr_bt_coex_state);
out_irq:
out_free_hw:
wlcore_free_hw(wl);
-@@ -5066,7 +5081,12 @@ int __devexit wlcore_remove(struct platf
+@@ -5372,7 +5387,12 @@ int __devexit wlcore_remove(struct platf
disable_irq_wake(wl->irq);
}
wl1271_unregister_hw(wl);
--- a/net/mac80211/tx.c
+++ b/net/mac80211/tx.c
-@@ -1977,6 +1977,7 @@ netdev_tx_t ieee80211_subif_start_xmit(s
+@@ -1972,6 +1972,7 @@ netdev_tx_t ieee80211_subif_start_xmit(s
goto fail;
}
if (unlikely(!multicast && skb->sk &&
skb_shinfo(skb)->tx_flags & SKBTX_WIFI_STATUS)) {
struct sk_buff *orig_skb = skb;
-@@ -2015,6 +2016,7 @@ netdev_tx_t ieee80211_subif_start_xmit(s
+@@ -2010,6 +2011,7 @@ netdev_tx_t ieee80211_subif_start_xmit(s
skb = orig_skb;
}
}
{
--- a/drivers/net/usb/usbnet.c
+++ b/drivers/net/usb/usbnet.c
-@@ -1303,13 +1303,17 @@ static const struct net_device_ops usbne
+@@ -1325,13 +1325,17 @@ static const struct net_device_ops usbne
// precondition: never called in_interrupt
--- a/net/mac80211/rx.c
+++ b/net/mac80211/rx.c
-@@ -3102,7 +3102,12 @@ void ieee80211_rx(struct ieee80211_hw *h
+@@ -3101,7 +3101,12 @@ void ieee80211_rx(struct ieee80211_hw *h
drop:
kfree_skb(skb);
}
{
struct sock *sk = sock->sk;
struct l2cap_chan *chan = l2cap_pi(sk)->chan;
-@@ -1067,8 +1074,12 @@ static struct sock *l2cap_sock_alloc(str
+@@ -1071,8 +1078,12 @@ static struct sock *l2cap_sock_alloc(str
return sk;
}
{
struct sock *sk;
-@@ -1080,7 +1091,11 @@ static int l2cap_sock_create(struct net
+@@ -1084,7 +1095,11 @@ static int l2cap_sock_create(struct net
sock->type != SOCK_DGRAM && sock->type != SOCK_RAW)
return -ESOCKTNOSUPPORT;
--- a/net/mac80211/tx.c
+++ b/net/mac80211/tx.c
-@@ -1498,6 +1498,10 @@ void ieee80211_xmit(struct ieee80211_sub
+@@ -1495,6 +1495,10 @@ void ieee80211_xmit(struct ieee80211_sub
return;
}
return 1; /* update */
--- a/drivers/net/wireless/rndis_wlan.c
+++ b/drivers/net/wireless/rndis_wlan.c
-@@ -1661,7 +1661,11 @@ static void set_multicast_list(struct us
+@@ -1633,7 +1633,11 @@ static void set_multicast_list(struct us
netdev_for_each_mc_addr(ha, usbdev->net)
memcpy(mc_addrs + i++ * ETH_ALEN,
static void rtl8187_configure_filter(struct ieee80211_hw *dev,
--- a/drivers/net/wireless/ti/wlcore/main.c
+++ b/drivers/net/wireless/ti/wlcore/main.c
-@@ -2358,11 +2358,20 @@ struct wl1271_filter_params {
+@@ -2626,11 +2626,20 @@ struct wl1271_filter_params {
u8 mc_list[ACX_MC_ADDRESS_GROUP_MAX][ETH_ALEN];
};
struct wl1271 *wl = hw->priv;
if (unlikely(wl->state == WL1271_STATE_OFF))
-@@ -2375,16 +2384,40 @@ static u64 wl1271_op_prepare_multicast(s
+@@ -2643,16 +2652,40 @@ static u64 wl1271_op_prepare_multicast(s
}
/* update multicast filtering parameters */
int retry = 0;
while (atomic_read(&sdiodev->suspend) && retry++ != 30)
wait_event_timeout(*wq, false, HZ/100);
-@@ -589,7 +589,7 @@ static void brcmf_ops_sdio_remove(struct
+@@ -563,7 +563,7 @@ static void brcmf_ops_sdio_remove(struct
}
}
static int brcmf_sdio_suspend(struct device *dev)
{
mmc_pm_flag_t sdio_flags;
-@@ -639,7 +639,7 @@ static struct sdio_driver brcmf_sdmmc_dr
+@@ -613,7 +613,7 @@ static struct sdio_driver brcmf_sdmmc_dr
.remove = brcmf_ops_sdio_remove,
.name = "brcmfmac",
.id_table = brcmf_sdmmc_ids,
--- a/drivers/net/wireless/b43legacy/main.c
+++ b/drivers/net/wireless/b43legacy/main.c
-@@ -2505,11 +2505,11 @@ static void b43legacy_op_tx(struct ieee8
+@@ -2503,11 +2503,11 @@ static void b43legacy_op_tx(struct ieee8
}
B43legacy_WARN_ON(skb_shinfo(skb)->nr_frags);
--- a/drivers/net/usb/usbnet.c
+++ b/drivers/net/usb/usbnet.c
-@@ -885,7 +885,9 @@ static const struct ethtool_ops usbnet_e
+@@ -909,7 +909,9 @@ static const struct ethtool_ops usbnet_e
.get_drvinfo = usbnet_get_drvinfo,
.get_msglevel = usbnet_get_msglevel,
.set_msglevel = usbnet_set_msglevel,