be2net: Fix endian issue in logical link config command
authorSuresh Reddy <suresh.reddy@broadcom.com>
Thu, 30 Mar 2017 04:58:32 +0000 (00:58 -0400)
committerDavid S. Miller <davem@davemloft.net>
Thu, 30 Mar 2017 22:57:33 +0000 (15:57 -0700)
commit0b98ca2a45e35dfe02f4512fa30b9f5a9900cb29
treef3edf5da80faf957bbd0e973753605bdb41d8ab4
parent3dbcc105d5561e18ccd0842c7baab1c835562a37
be2net: Fix endian issue in logical link config command

Use cpu_to_le32() for link_config variable in set_logical_link_config
command as this variable is of type u32.

Signed-off-by: Suresh Reddy <suresh.reddy@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/emulex/benet/be_cmds.c