summaryrefslogtreecommitdiff
path: root/include/linux/debugobjects.h
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@oracle.com>2012-04-18 09:48:59 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-04-18 16:59:03 -0700
commitbb46f130a033ed812ccc24f5fd4f34648650d240 (patch)
treee750c3eb638b4077a9a04551c6a193af307a9815 /include/linux/debugobjects.h
parent0d19cd36a5727962b3c000270857d4bf63522d63 (diff)
Staging: wlan-ng: off by one in prism2mgmt_scan_results()
Count is used to cap "req->bssindex.data" which is used as an offset into the hw->scanresults->info.hscanresult.result[] array. The array has only HFA384x_SCANRESULT_MAX (31) elements so the 32 is off by one. Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions