Commits

Dan Carpenter committed fe947490181
staging: rtl8188eu: prevent an underflow in rtw_check_beacon_data() [ Upstream commit 784047eb2d3405a35087af70cba46170c5576b25 ] The "len" could be as low as -14 so we should check for negatives. Fixes: 9a7fe54ddc3a ("staging: r8188eu: Add source files for new driver - part 1") Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Signed-off-by: Sasha Levin <alexander.levin@verizon.com>