Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 289881
b: refs/heads/master
c: 57cd80d
h: refs/heads/master
i:
  289879: 84be483
v: v3
  • Loading branch information
Padmanabh Ratnakar authored and David S. Miller committed Feb 4, 2012
1 parent c682bad commit 99e53d8
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 332ad43f19848ed653a5e44afa8e2f4a7d34ed44
refs/heads/master: 57cd80d4d511748f3973accc6919e7e1e1936ebb
6 changes: 4 additions & 2 deletions trunk/drivers/net/ethernet/emulex/benet/be_cmds.c
Original file line number Diff line number Diff line change
Expand Up @@ -1257,11 +1257,13 @@ int be_cmd_link_status_query(struct be_adapter *adapter, u8 *mac_speed,
}
req = embedded_payload(wrb);

be_wrb_cmd_hdr_prepare(&req->hdr, CMD_SUBSYSTEM_COMMON,
OPCODE_COMMON_NTWK_LINK_STATUS_QUERY, sizeof(*req), wrb, NULL);

if (adapter->generation == BE_GEN3 || lancer_chip(adapter))
req->hdr.version = 1;

be_wrb_cmd_hdr_prepare(&req->hdr, CMD_SUBSYSTEM_COMMON,
OPCODE_COMMON_NTWK_LINK_STATUS_QUERY, sizeof(*req), wrb, NULL);
req->hdr.domain = dom;

status = be_mcc_notify_wait(adapter);
if (!status) {
Expand Down

0 comments on commit 99e53d8

Please sign in to comment.