diff options
| author | Martin Kaiser <martin@kaiser.cx> | 2022-04-17 12:22:19 +0200 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2022-04-20 18:37:17 +0200 |
| commit | 9e9bbd6ffd0e2dfeb02b8233f069974c7d8c5a98 (patch) | |
| tree | 2b8adbe19df16da297d2e09e988be1c11a657ff4 /tools/perf/scripts/python | |
| parent | staging: r8188eu: the frame type is shifted out (diff) | |
| download | linux-9e9bbd6ffd0e2dfeb02b8233f069974c7d8c5a98.tar.gz linux-9e9bbd6ffd0e2dfeb02b8233f069974c7d8c5a98.zip | |
staging: r8188eu: replace mlme_handler with function pointer
mlme_sta_tbl is an array of struct mlme_handler. mlme_handler's num and
str components are not used. The code in mgt_dispatcher uses the subtype
number of the incoming frame to select the array entry for compiling the
repsonse.
We can remove struct mlme_handler and make mlme_sta_tbl an array of
function pointers.
Signed-off-by: Martin Kaiser <martin@kaiser.cx>
Link: https://lore.kernel.org/r/20220417102221.466524-5-martin@kaiser.cx
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
