diff options
author | Ajit Khaparde <ajit.khaparde@emulex.com> | 2011-02-11 16:33:02 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-02-12 08:14:43 +0300 |
commit | 6bff57a7a6b97f2bf98cb96e56db1ec02a29d135 (patch) | |
tree | b9a29fcf71276fdff7a70fe76c343b3b926e9e54 /drivers/net/benet/be_cmds.c | |
parent | 856c40125acf63f93aab5bc18ff9e627beeb0a3d (diff) | |
download | linux-6bff57a7a6b97f2bf98cb96e56db1ec02a29d135.tar.xz |
be2net: endianness fix in be_cmd_set_qos().
Signed-off-by: Ajit Khaparde <ajit.khaparde@emulex.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/benet/be_cmds.c')
-rw-r--r-- | drivers/net/benet/be_cmds.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/benet/be_cmds.c b/drivers/net/benet/be_cmds.c index a179cc6d79f2..d3b671d9e027 100644 --- a/drivers/net/benet/be_cmds.c +++ b/drivers/net/benet/be_cmds.c @@ -1868,8 +1868,8 @@ int be_cmd_set_qos(struct be_adapter *adapter, u32 bps, u32 domain) OPCODE_COMMON_SET_QOS, sizeof(*req)); req->hdr.domain = domain; - req->valid_bits = BE_QOS_BITS_NIC; - req->max_bps_nic = bps; + req->valid_bits = cpu_to_le32(BE_QOS_BITS_NIC); + req->max_bps_nic = cpu_to_le32(bps); status = be_mcc_notify_wait(adapter); |