be2net: fix cmd-rx-filter not notifying MCC
authorSathya Perla <sathya.perla@emulex.com>
Wed, 3 Aug 2011 12:19:27 +0000 (05:19 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 3 Aug 2011 12:19:27 +0000 (05:19 -0700)
Dave, I missed out on this line while composing the 4/6 patch from my
yesterday's patchset ("[PATCH net-next 4/6] be2net: use RX_FILTER cmd
to program multicast addresses"). As you've already queued up the
patchset for net-next, I'm sending the fix in a separate patch. Pls
apply.

Signed-off-by: Sathya Perla <sathya.perla@emulex.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/benet/be_cmds.c

index 7292be64632b84bcb10becb216190b1cd8d61d34..427859532f02815f62d4839b33f4263f463624dd 100644 (file)
@@ -1593,6 +1593,7 @@ int be_cmd_rx_filter(struct be_adapter *adapter, u32 flags, u32 value)
                        memcpy(req->mcast_mac[i++].byte, ha->addr, ETH_ALEN);
        }
 
+       status = be_mcc_notify_wait(adapter);
 err:
        spin_unlock_bh(&adapter->mcc_lock);
        return status;