Messages in this thread Patch in this message | | | Date | Sun, 14 Jun 2009 11:44:24 +0200 (CEST) | From | Stefan Richter <> | Subject | [PATCH] firewire: core: use more outbound tlabels |
| |
This appears to be a typo. Tlabel is a 6 bits wide datum; we should wrap it after 63 rather than 31.
Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de> --- drivers/firewire/core-transaction.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Index: b/drivers/firewire/core-transaction.c =================================================================== --- a/drivers/firewire/core-transaction.c +++ b/drivers/firewire/core-transaction.c @@ -294,7 +294,7 @@ void fw_send_request(struct fw_card *car return; } - card->current_tlabel = (card->current_tlabel + 1) & 0x1f; + card->current_tlabel = (card->current_tlabel + 1) & 0x3f; card->tlabel_mask |= (1 << tlabel); t->node_id = destination_id; -- Stefan Richter -=====-==--= -==- -===- http://arcgraph.de/sr/
| |