Преглед изворни кода

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>
Stefan Richter пре 15 година
родитељ
комит
85cb9b6864
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      drivers/firewire/core-transaction.c

+ 1 - 1
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 = {
 static struct fw_address_handler topology_map = {
-	.length			= 0x200,
+	.length			= 0x400,
 	.address_callback	= handle_topology_map,
 	.address_callback	= handle_topology_map,
 };
 };