]> git.karo-electronics.de Git - linux-beck.git/commitdiff
staging: ozwpan: Increase farewell report size.
authorRupesh Gujare <rupesh.gujare@atmel.com>
Thu, 1 Aug 2013 17:45:01 +0000 (18:45 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 2 Aug 2013 03:57:54 +0000 (11:57 +0800)
Farewell report size can be bigger than one byte, increase array
size to accomodate maximum 32 bytes of farewell report.

Signed-off-by: Rupesh Gujare <rupesh.gujare@atmel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/ozwpan/ozpd.h

index a281753774e63eb26935b0c70e5a4d2dd6c8a8cf..57e98c897711e79a35e838d329c5498f3858f3aa 100644 (file)
@@ -48,7 +48,7 @@ struct oz_farewell {
        struct list_head link;
        u8 ep_num;
        u8 index;
-       u8 report[1];
+       u8 report[32];
        u8 len;
 };