usb: wusb: don't overflow the Keep Alive IE buffer
authorDavid Vrabel <david.vrabel@csr.com>
Mon, 22 Mar 2010 14:50:14 +0000 (14:50 +0000)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 22 Apr 2010 22:18:22 +0000 (15:18 -0700)
commita23b64845f1ed0c090e30a70ca747a379674e006
tree603bf71c16284622eb6e53cb51cb996fa5ab7b6b
parent18f91196b6e7994bd694a96a6c3b0ac1f3e81d82
usb: wusb: don't overflow the Keep Alive IE buffer

The Keep Alive IE only has space for WUIE_ELT_MAX (== 4) device addresses.

Signed-off-by: David Vrabel <david.vrabel@csr.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/wusbcore/devconnect.c