diff options
author | Clemens Ladisch <clemens@ladisch.de> | 2012-04-11 17:36:39 +0200 |
---|---|---|
committer | Stefan Richter <stefanr@s5r6.in-berlin.de> | 2012-04-17 22:27:37 +0200 |
commit | d33ec3b55e91f1c285099fee731b79a722d10fe6 (patch) | |
tree | 3bd2da84d19b852381d10bc5961b5e6b3731ba01 /security/capability.c | |
parent | 8a8c47364eef8595e05b5bf53352aa6f16784356 (diff) | |
download | linux-d33ec3b55e91f1c285099fee731b79a722d10fe6.tar.bz2 |
firewire: core: wait for inaccessible devices after bus reset
When reread_config_rom() encountered a config rom that was marked as not
yet accessible, that device would be treated as "gone". This would mean
that that device would effectively vanish until the next bus reset.
The correct way to handle this situation is the same as in
read_config_rom(), to treat this like other errors and to retry the read
later, when the (possibly changed) config rom is available. The device
is marked "gone" only if it continues to return zero values after these
retries.
Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
Diffstat (limited to 'security/capability.c')
0 files changed, 0 insertions, 0 deletions