mirror of
https://github.com/torvalds/linux.git
synced 2026-05-27 16:44:58 +02:00
staging: r8188eu: use ieee80211 helper to read the protected bit
Use the ieee80211 helper to read the "protected" bit. Signed-off-by: Martin Kaiser <martin@kaiser.cx> Link: https://lore.kernel.org/r/20220227164147.1168847-8-martin@kaiser.cx Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
3371c86dc0
commit
0beae891d3
|
|
@ -1083,7 +1083,7 @@ static int validate_recv_frame(struct adapter *adapter, struct recv_frame *precv
|
|||
pattrib->pw_save = GetPwrMgt(ptr);
|
||||
pattrib->mfrag = ieee80211_has_morefrags(fc);
|
||||
pattrib->mdata = ieee80211_has_moredata(fc);
|
||||
pattrib->privacy = GetPrivacy(ptr);
|
||||
pattrib->privacy = ieee80211_has_protected(fc);
|
||||
pattrib->order = GetOrder(ptr);
|
||||
|
||||
/* Dump rx packets */
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user