staging: r8188eu: ra and ta do not depend on to_ds, from_ds
authorMartin Kaiser <martin@kaiser.cx>
Sun, 3 Apr 2022 16:54:35 +0000 (18:54 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 4 Apr 2022 14:32:43 +0000 (16:32 +0200)
commitd88a36bdc5e421207b1ba9eb26cce16bb61bb9cd
tree4acc41c1d2d5a42f36c07aa9d3c3cb226971eb85
parent1a90b6e23bf9b97e29de9c8666b239fbcd457a46
staging: r8188eu: ra and ta do not depend on to_ds, from_ds

The "DS bit usage" table in include/linux/ieee80211.h shows that
ra is always addr1 and ta is always addr2.

We can set pattrib->ra and pattrib->ta regardless of the to_ds and
from_ds bits.

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