diff options
| author | Dan Carpenter <[email protected]> | 2011-10-18 09:47:29 +0300 |
|---|---|---|
| committer | John W. Linville <[email protected]> | 2011-11-08 15:53:58 -0500 |
| commit | ec3cbb9ce241da90b9d43e49996fae5082c6b6f7 (patch) | |
| tree | a3f8740257c83acae7f47d35523aae803cebb0eb /tools/perf/scripts/python | |
| parent | 48ef5c427ac2cfd12c150b38263d3ebb0d989647 (diff) | |
rndis_wlan: add range check in del_key()
Wifi drivers can have up to 6 keys but the rndis_wlan only has 4 so
it needs to have its own checks to make sure we don't go out of
bounds. The add_key() function already checks but I added some
checks to del_key() and set_default_key().
Signed-off-by: Dan Carpenter <[email protected]>
Acked-by: Jussi Kivilinna <[email protected]>
Signed-off-by: John W. Linville <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions