diff options
Diffstat (limited to 'drivers/ieee1394')
-rw-r--r-- | drivers/ieee1394/ieee1394_core.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/ieee1394/ieee1394_core.c b/drivers/ieee1394/ieee1394_core.c index 942bf1ff5214..dcdb71a7718d 100644 --- a/drivers/ieee1394/ieee1394_core.c +++ b/drivers/ieee1394/ieee1394_core.c | |||
@@ -373,6 +373,8 @@ static void build_speed_map(struct hpsb_host *host, int nodecount) | |||
373 | if (sid->port2 == SELFID_PORT_CHILD) cldcnt[n]++; | 373 | if (sid->port2 == SELFID_PORT_CHILD) cldcnt[n]++; |
374 | 374 | ||
375 | speedcap[n] = sid->speed; | 375 | speedcap[n] = sid->speed; |
376 | if (speedcap[n] > host->csr.lnk_spd) | ||
377 | speedcap[n] = host->csr.lnk_spd; | ||
376 | n--; | 378 | n--; |
377 | } | 379 | } |
378 | } | 380 | } |