mirror of
https://github.com/outbackdingo/mt76.git
synced 2026-10-24 13:26:48 +00:00
wifi: mt76: mt7915: fix endianness of mt7915_mcu_set_obss_spr_pd()
Fix sparse: sparse: incorrect type in assignment (different base types).
Fixes: a6335031eb96 ("wifi: mt76: mt7915: add support to configure spatial reuse parameter set")
Signed-off-by: Ryder Lee <[email protected]>
Signed-off-by: Felix Fietkau <[email protected]>
This commit is contained in:
+2
-2
@@ -3438,8 +3438,8 @@ mt7915_mcu_set_obss_spr_pd(struct mt7915_phy *phy,
|
||||
if (he_obss_pd->sr_ctrl & IEEE80211_HE_SPR_SRG_INFORMATION_PRESENT)
|
||||
req.param.pd_th_srg = max_th - he_obss_pd->max_offset;
|
||||
|
||||
req.param.obss_pd_min = 82;
|
||||
req.param.obss_pd_min_srg = 82;
|
||||
req.param.obss_pd_min = cpu_to_le16(82);
|
||||
req.param.obss_pd_min_srg = cpu_to_le16(82);
|
||||
req.param.txpwr_restrict_mode = 2;
|
||||
req.param.txpwr_ref = 21;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user