diff options
author | Eliad Peller <[email protected]> | 2014-05-11 19:59:43 +0300 |
---|---|---|
committer | Emmanuel Grumbach <[email protected]> | 2014-05-13 14:04:55 +0300 |
commit | 64793110ad4d82e18d88a33307749c6562a6dd04 (patch) | |
tree | 21b502166d7f9890f9067fa4e0c951a7a06bbe1f /lib/memory-notifier-error-inject.c | |
parent | 1c4abec0baf25ffb92a28cc99d4231feeaa4d3f3 (diff) |
iwlwifi: mvm: fix off-by-one in scan channels configuration
tail should be equal to the last valid index, so
decrease it by one.
This error causes in "a gap" in some cases (as well as
some possible out-of-bound write), finally resulting in
ucode assertion.
Signed-off-by: Eliad Peller <[email protected]>
Signed-off-by: Emmanuel Grumbach <[email protected]>
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions