Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 45739
b: refs/heads/master
c: 41b69c7
h: refs/heads/master
i:
  45737: 493844d
  45735: 192660a
v: v3
  • Loading branch information
Thomas Klein authored and Jeff Garzik committed Jan 23, 2007
1 parent 838b509 commit b6af323
Show file tree
Hide file tree
Showing 2 changed files with 4 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: bb3a6449c18f6203e59195a98d633f5b5b57c133
refs/heads/master: 41b69c705152e93b3c6c872678dffd8a19b14d61
5 changes: 3 additions & 2 deletions trunk/drivers/net/ehea/ehea_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -575,8 +575,9 @@ static struct ehea_port *ehea_get_port(struct ehea_adapter *adapter,
int i;

for (i = 0; i < adapter->num_ports; i++)
if (adapter->port[i]->logical_port_id == logical_port)
return adapter->port[i];
if (adapter->port[i])
if (adapter->port[i]->logical_port_id == logical_port)
return adapter->port[i];
return NULL;
}

Expand Down

0 comments on commit b6af323

Please sign in to comment.