diff options
| author | Johannes Berg <johannes.berg@intel.com> | 2023-02-15 12:40:41 +0300 |
|---|---|---|
| committer | Johannes Berg <johannes.berg@intel.com> | 2023-02-15 20:27:35 +0300 |
| commit | ab5f171e36063b33aba1dd4c7c6d5031b00b42aa (patch) | |
| tree | 60194cdef53f4482ad8f60e92602c999c95fddad /net/lapb/lapb_subr.c | |
| parent | 0d846bdc11101ac0ba4d89c2be359af08cb9379b (diff) | |
| download | linux-ab5f171e36063b33aba1dd4c7c6d5031b00b42aa.tar.xz | |
wifi: mac80211: always initialize link_sta with sta
When we have multiple interfaces receiving the same frame,
such as a multicast frame, one interface might have a sta
and the other not. In this case, link_sta would be set but
not cleared again.
Always set link_sta, so we keep an invariant that link_sta
and sta are either both set or both not set.
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/lapb/lapb_subr.c')
0 files changed, 0 insertions, 0 deletions
