be2net: Fix endian issue in RX filter command
authorPadmanabh Ratnakar <padmanabh.ratnakar@emulex.com>
Thu, 3 Nov 2011 01:49:13 +0000 (01:49 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 4 Nov 2011 01:59:39 +0000 (21:59 -0400)
commit016f97b11b3c7fe834260150d0f9cb36d06b2eb8
tree6d2cac0966c303e79c57f38dfb4c7dd36dccf9ec
parent5b67b3c04d73ee998a754d006e53131a7c909a46
be2net: Fix endian issue in RX filter command

Use cpu_to_le32() for mcast_num field in RX filter command as this
field is of type u32.

Signed-off-by: Padmanabh Ratnakar <padmanabh.ratnakar@emulex.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/emulex/benet/be_cmds.c