We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0016d32 commit 575a97aCopy full SHA for 575a97a
include/linux/ieee80211.h
@@ -2102,14 +2102,14 @@ ieee80211_he_spr_size(const u8 *he_spr_ie)
2102
{
2103
struct ieee80211_he_spr *he_spr = (void *)he_spr_ie;
2104
u8 spr_len = sizeof(struct ieee80211_he_spr);
2105
- u32 he_spr_params;
+ u8 he_spr_params;
2106
2107
/* Make sure the input is not NULL */
2108
if (!he_spr_ie)
2109
return 0;
2110
2111
/* Calc required length */
2112
- he_spr_params = le32_to_cpu(he_spr->he_sr_control);
+ he_spr_params = he_spr->he_sr_control;
2113
if (he_spr_params & IEEE80211_HE_SPR_NON_SRG_OFFSET_PRESENT)
2114
spr_len++;
2115
if (he_spr_params & IEEE80211_HE_SPR_SRG_INFORMATION_PRESENT)
0 commit comments