be2net: Fix link status query command
authorPadmanabh Ratnakar <padmanabh.ratnakar@emulex.com>
Fri, 3 Feb 2012 09:49:46 +0000 (09:49 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sat, 4 Feb 2012 21:06:28 +0000 (16:06 -0500)
commit57cd80d4d511748f3973accc6919e7e1e1936ebb
tree50cab5b5f31283519fb8f1bcc0815bb3b5b3ef7a
parent332ad43f19848ed653a5e44afa8e2f4a7d34ed44
be2net: Fix link status query command

Version number in query link status command is getting overwritten in
be_wrb_cmd_hdr_prepare() routine. Move the initialization to fix this
issue. Also initialize the domain field.

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