Staging: vt6655-6: shift wrap in hostap_set_encryption()
authorDan Carpenter <dan.carpenter@oracle.com>
Thu, 11 Oct 2012 06:55:25 +0000 (09:55 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 22 Oct 2012 20:26:40 +0000 (13:26 -0700)
commitc25015c1184e7e54c02e0dfd5044eec38dec482c
tree8d2158d00b6c10e6dcf2ec6083e6562ebca97c84
parentff4573a7afc53ccf6c66622b884d60208d04db2b
Staging: vt6655-6: shift wrap in hostap_set_encryption()

abySeq is an unsigned char so shifting more than 31 bits will lead to a
shift wrapping bug.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/vt6655/hostap.c
drivers/staging/vt6656/hostap.c