aboutsummaryrefslogtreecommitdiff
path: root/drivers/firewire/core-topology.c
diff options
context:
space:
mode:
authorStefan Richter <stefanr@s5r6.in-berlin.de>2010-06-21 23:24:35 +0200
committerStefan Richter <stefanr@s5r6.in-berlin.de>2010-07-08 16:52:02 +0200
commit250b2b6dd421c9f8844a867d2ac06e0661e0ad93 (patch)
treeb86719d2c442676a52c6307471c9e278b1bd21f5 /drivers/firewire/core-topology.c
parentae948011071c12ff6a328348859c717ea885ed40 (diff)
downloadlinaro-lsk-250b2b6dd421c9f8844a867d2ac06e0661e0ad93.tar.gz
firewire: cdev: fix fw_cdev_event_bus_reset.bm_node_id
Fix an obscure ABI feature that is a bit of a hassle to implement. However, somebody put it into the ABI, so let's fill in a sensible value there. Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
Diffstat (limited to 'drivers/firewire/core-topology.c')
-rw-r--r--drivers/firewire/core-topology.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/firewire/core-topology.c b/drivers/firewire/core-topology.c
index 56e908ba43f..88d5133ae70 100644
--- a/drivers/firewire/core-topology.c
+++ b/drivers/firewire/core-topology.c
@@ -552,6 +552,7 @@ void fw_core_handle_bus_reset(struct fw_card *card, int node_id, int generation,
smp_wmb();
card->generation = generation;
card->reset_jiffies = jiffies;
+ card->bm_node_id = 0xffff;
card->bm_abdicate = bm_abdicate;
fw_schedule_bm_work(card, 0);