aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/firewire
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/firewire')
-rw-r--r--drivers/firewire/core-cdev.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/firewire/core-cdev.c b/drivers/firewire/core-cdev.c
index bbb8160e2c99..5eba9e0f876c 100644
--- a/drivers/firewire/core-cdev.c
+++ b/drivers/firewire/core-cdev.c
@@ -959,6 +959,8 @@ static int ioctl_queue_iso(struct client *client, union ioctl_arg *arg)
959 u.packet.header_length = GET_HEADER_LENGTH(control); 959 u.packet.header_length = GET_HEADER_LENGTH(control);
960 960
961 if (ctx->type == FW_ISO_CONTEXT_TRANSMIT) { 961 if (ctx->type == FW_ISO_CONTEXT_TRANSMIT) {
962 if (u.packet.header_length % 4 != 0)
963 return -EINVAL;
962 header_length = u.packet.header_length; 964 header_length = u.packet.header_length;
963 } else { 965 } else {
964 /* 966 /*