Repository navigation
Commit 77cbbc3
mac80211: fix saving a few HE values
After masking the he_oper_params, to get the requested values as
integers one must rshift and not lshift. Fix that by using the
le32_get_bits() macro.
Fixes: 41cbb0f ("mac80211: add support for HE")
Signed-off-by: Naftali Goldstein <naftali.goldstein@intel.com>
[converted to use le32_get_bits()]
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>1 parent c3d1f87 commit 77cbbc3
1 file changed
Lines changed: 7 additions & 10 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3239 | 3239 | | |
3240 | 3240 | | |
3241 | 3241 | | |
3242 | | - | |
3243 | | - | |
| 3242 | + | |
| 3243 | + | |
| 3244 | + | |
3244 | 3245 | | |
3245 | | - | |
3246 | | - | |
3247 | 3246 | | |
3248 | | - | |
3249 | | - | |
3250 | | - | |
| 3247 | + | |
| 3248 | + | |
3251 | 3249 | | |
3252 | | - | |
3253 | | - | |
3254 | | - | |
| 3250 | + | |
| 3251 | + | |
3255 | 3252 | | |
3256 | 3253 | | |
3257 | 3254 | | |
| |||
0 commit comments