commit | adf1b358a9c97b8d73dc91ade96f2a9f225921e1 | [log] [tgz] |
---|---|---|
author | Sasha Levin <sasha.levin@oracle.com> | Thu May 28 11:03:56 2015 -0400 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Sun May 31 09:00:15 2015 +0900 |
tree | 8443f90229a77c8fc16c972d75b1daaa4775fda4 | |
parent | 691f1a2f035d345c5a908c5c1e2a158dde6c93fa [diff] |
staging: wilc1000: off by one in wilc_wfi_cfg80211_mgmt_types NL80211_IFTYPE_MAX represents the largest interface type number defined, so declaring the array with that size will actually leave out the last interface. This causes invalid memory access whenever this array is used, which starts happening at boot. Signed-off-by: Sasha Levin <sasha.levin@oracle.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>