staging: r8188eu: the frame type is shifted out
authorMartin Kaiser <martin@kaiser.cx>
Sun, 17 Apr 2022 10:22:18 +0000 (12:22 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 20 Apr 2022 16:37:17 +0000 (18:37 +0200)
commitbea6af5447fcbdc076dfaacc33db7e49a855f794
tree8f22feb79d4afc5e2eb8d701c40279814033a061
parentbd379a21488bbe694984ba5d1bd7d4cd4a17d416
staging: r8188eu: the frame type is shifted out

The index calculation in mgt_dispatcher does not use the frame type. The
4-bit right shift ignores protocol version and frame type.

Signed-off-by: Martin Kaiser <martin@kaiser.cx>
Link: https://lore.kernel.org/r/20220417102221.466524-4-martin@kaiser.cx
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/r8188eu/core/rtw_mlme_ext.c