rtl8192e: update for ndo_set_multicast_list removal.
authorStephen Rothwell <sfr@canb.auug.org.au>
Thu, 25 Aug 2011 05:02:09 +0000 (15:02 +1000)
committerLarry Finger <Larry.Finger@lwfinger.net>
Fri, 26 Aug 2011 06:13:34 +0000 (01:13 -0500)
After merging the staging tree, today's linux-next build (x86_64
allmodconfig) failed like this:

drivers/staging/rtl8192e/rtl_core.c:2917:2: error: unknown field 'ndo_set_multicast_list' specified in initializer

Caused by commit 94a799425eee ("From: wlanfae <wlanfae@realtek.com>" -
really "[PATCH 1/8] rtl8192e: Import new version of driver from realtek"

Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
drivers/staging/rtl8192e/rtl_core.c

index 9bc20f0..2d7bb51 100644 (file)
@@ -2867,7 +2867,7 @@ static const struct net_device_ops rtl8192_netdev_ops = {
        .ndo_stop = rtl8192_close,
        .ndo_tx_timeout = rtl8192_tx_timeout,
        .ndo_do_ioctl = rtl8192_ioctl,
-       .ndo_set_multicast_list = r8192_set_multicast,
+       .ndo_set_rx_mode = r8192_set_multicast,
        .ndo_set_mac_address = r8192_set_mac_adr,
        .ndo_validate_addr = eth_validate_addr,
        .ndo_change_mtu = eth_change_mtu,