mac80211: fix saving a few HE values
authorNaftali Goldstein <naftali.goldstein@intel.com>
Wed, 5 Sep 2018 05:06:07 +0000 (08:06 +0300)
committerJohannes Berg <johannes.berg@intel.com>
Wed, 5 Sep 2018 08:08:42 +0000 (10:08 +0200)
commit77cbbc35a49b75969d98edce9400beb21720aa39
treec525273b318504be10e4645247414f5f07db4d0b
parentc3d1f8752802b2e1fb12c73bee50035bc125bc54
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: 41cbb0f5a295 ("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>
net/mac80211/mlme.c