Messages in this thread Patch in this message | | | From | Rupesh Gujare <> | Subject | [PATCH 5/6] staging: ozwpan: Increase farewell report size. | Date | Thu, 1 Aug 2013 18:45:01 +0100 |
| |
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> --- drivers/staging/ozwpan/ozpd.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/staging/ozwpan/ozpd.h b/drivers/staging/ozwpan/ozpd.h index a281753..57e98c8 100644 --- a/drivers/staging/ozwpan/ozpd.h +++ b/drivers/staging/ozwpan/ozpd.h @@ -48,7 +48,7 @@ struct oz_farewell { struct list_head link; u8 ep_num; u8 index; - u8 report[1]; + u8 report[32]; u8 len; }; -- 1.7.9.5
| |