staging: r8188eu: off by one bugs
authorDan Carpenter <dan.carpenter@oracle.com>
Thu, 29 Aug 2013 21:45:06 +0000 (00:45 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 30 Aug 2013 18:46:47 +0000 (11:46 -0700)
commit955fae6fd7d77264a788441586515b75948c7985
treed7ca6e2dc8ab6d07b3603bc57cd1ed0986630f02
parentdf23983c212ab58b3171177a53fad78cea325b99
staging: r8188eu: off by one bugs

These should be "<" instead of "<=".  Also we can use the ARRAY_SIZE()
macro.

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