summaryrefslogtreecommitdiff
path: root/drivers/firewire/core-transaction.c
diff options
context:
space:
mode:
authorStefan Richter <stefanr@s5r6.in-berlin.de>2009-09-08 03:13:53 +0400
committerStefan Richter <stefanr@s5r6.in-berlin.de>2009-09-12 16:48:40 +0400
commit85cb9b68640cf467a99d4b6d518f1293222dbc9e (patch)
tree02aca6e2bfc101b1ec9fa578701d5b01dc6bcd33 /drivers/firewire/core-transaction.c
parentb171e204b32b69e241af994d6e9be559e33535c1 (diff)
downloadlinux-85cb9b68640cf467a99d4b6d518f1293222dbc9e.tar.xz
firewire: core: fix topology map response handler
This register is 1 kBytes large. Adjust topology_map.length to prevent registration of other response handlers in this region and to make sure that we respond to requests to the upper half of the register. Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
Diffstat (limited to 'drivers/firewire/core-transaction.c')
-rw-r--r--drivers/firewire/core-transaction.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/firewire/core-transaction.c b/drivers/firewire/core-transaction.c
index 479b22f5a1eb..da628c72a462 100644
--- a/drivers/firewire/core-transaction.c
+++ b/drivers/firewire/core-transaction.c
@@ -834,7 +834,7 @@ static void handle_topology_map(struct fw_card *card, struct fw_request *request
}
static struct fw_address_handler topology_map = {
- .length = 0x200,
+ .length = 0x400,
.address_callback = handle_topology_map,
};