firewire: sbp2: fix status reception
authorStefan Richter <stefanr@s5r6.in-berlin.de>
Sun, 6 Sep 2009 16:51:27 +0000 (18:51 +0200)
committerStefan Richter <stefanr@s5r6.in-berlin.de>
Sat, 12 Sep 2009 12:48:40 +0000 (14:48 +0200)
commit094614fc14966bc6a6259ade55f051fe17f36122
tree36ccc96edeb9dff1f947de727599b3d33a2efdd4
parent85cb9b68640cf467a99d4b6d518f1293222dbc9e
firewire: sbp2: fix status reception

Per SBP-2 clause 5.3, a target shall store 8...32 bytes of status
information.  Trailing zeros after the first 8 bytes don't need to be
stored, they are implicit.  Fix the status write handler to clear all
unwritten status data.

Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
drivers/firewire/sbp2.c