From: Peter Chiu Date: Thu, 5 May 2022 08:25:52 +0000 (+0800) Subject: mt76: mt7915: fix twt table_mask to u16 in mt7915_dev X-Git-Tag: v6.6.17~7459^2~59^2~20^2~15 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=3620c8821ae15902eb995a32918e34b7a0c773a3;p=platform%2Fkernel%2Flinux-rpi.git mt76: mt7915: fix twt table_mask to u16 in mt7915_dev mt7915 can support 16 twt stations so modify table_mask to u16. Fixes: 3782b69d03e7 ("mt76: mt7915: introduce mt7915_mac_add_twt_setup routine") Signed-off-by: Peter Chiu Signed-off-by: Felix Fietkau --- diff --git a/drivers/net/wireless/mediatek/mt76/mt7915/mt7915.h b/drivers/net/wireless/mediatek/mt76/mt7915/mt7915.h index 6c590eff14f1..0f51d7657caf 100644 --- a/drivers/net/wireless/mediatek/mt76/mt7915/mt7915.h +++ b/drivers/net/wireless/mediatek/mt76/mt7915/mt7915.h @@ -319,7 +319,7 @@ struct mt7915_dev { void *cal; struct { - u8 table_mask; + u16 table_mask; u8 n_agrt; } twt;