diff options
| author | Jérôme Pouiller <[email protected]> | 2019-10-11 10:16:41 +0000 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2019-10-14 15:37:18 +0200 |
| commit | 44288f1101feba11beef9536b176dadae420d874 (patch) | |
| tree | 4c36db78d6abce0515db51df846fa183a4c7724c /tools/perf/scripts/python/export-to-sqlite.py | |
| parent | 807411911d99fe13ade4c02db4606f2df672f589 (diff) | |
staging: wfx: fix error handling in wfx_tx_get_raw_link_id()
Since wfx_tx_get_raw_link_id() return an unsigned, it makes no sense to
return a negative value. "15" is a better value since it is used by
firmware for stations that have not yet associated link-ids.
Note that this should never happens since driver set max_ap_assoc_sta
to 14.
Fixes: 9bca45f3d692 ("staging: wfx: allow to send 802.11 frames")
Reported-by: kbuild test robot <[email protected]>
Reported-by: Dan Carpenter <[email protected]>
Signed-off-by: Jérôme Pouiller <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions