summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRupesh Gujare <rupesh.gujare@atmel.com>2013-08-01 18:45:01 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-08-02 11:57:54 +0800
commitbaaaef1383d3708f02b2316d2d6f2bda0980fad7 (patch)
tree4400875d95e5dcfe7bfabe9b001bddf935e49bcb
parent2dc2ee5ccdaf88b41bf9c025acf14ebdc2959a21 (diff)
downloadblackbird-op-linux-baaaef1383d3708f02b2316d2d6f2bda0980fad7.tar.gz
blackbird-op-linux-baaaef1383d3708f02b2316d2d6f2bda0980fad7.zip
staging: ozwpan: Increase farewell report size.
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>
-rw-r--r--drivers/staging/ozwpan/ozpd.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/ozwpan/ozpd.h b/drivers/staging/ozwpan/ozpd.h
index a281753774e6..57e98c897711 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;
};
OpenPOWER on IntegriCloud