]> git.baikalelectronics.ru Git - kernel.git/commit
ieee1394: limit early node speed to host interface speed
authorPhilippe De Muyter <phdm@macqel.be>
Fri, 11 Apr 2008 14:27:59 +0000 (16:27 +0200)
committerStefan Richter <stefanr@s5r6.in-berlin.de>
Fri, 18 Apr 2008 15:55:31 +0000 (17:55 +0200)
commit25f6daef897d2836e6fd36ce3f4f71df1cd4eb1e
treeea8b4d1d405d0e710cdc0d794993429bbb2676da
parenta05f07d4a47654c0fb488fdce9c6a39ca9e718dc
ieee1394: limit early node speed to host interface speed

The following patch limits the node speed to the host interface speed,
before using it.

Signed-off-by: Philippe De Muyter <phdm@macqel.be>
It should actually suffice to do this only for the local node's
speedcap[].  But there is another bug in the speed calculation:
The local node's speed is not correctly propagated to the speeds
which are to be used to access remote nodes.
http://thread.gmane.org/gmane.linux.kernel.firewire.devel/11772/focus=12024

Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
drivers/ieee1394/ieee1394_core.c