iwlwifi: mvm: fix pointer reference when setting HE QAM thres
authorLiad Kaufman <liad.kaufman@intel.com>
Wed, 20 Feb 2019 03:05:00 +0000 (05:05 +0200)
committerLuca Coelho <luciano.coelho@intel.com>
Wed, 3 Apr 2019 08:20:01 +0000 (11:20 +0300)
commit0bfefe2f41dd5bd60c7b695e450fc3a931875980
treea0230f13cf605ae3ce08f737cf5812a56d9cd3ac
parent4c704534c38fb1125b111fd4ffc8a36d79dd7339
iwlwifi: mvm: fix pointer reference when setting HE QAM thres

Pointer referencing when setting HE QAM thresholds (when nominal
packet padding bit is on) caused kernel crash due to bad
referencing. Fix that.

Signed-off-by: Liad Kaufman <liad.kaufman@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c