From b7104b4b2f2d9d206d747fad4a575185c7a40bee Mon Sep 17 00:00:00 2001 From: Peter Chiu Date: Thu, 5 May 2022 16:25:52 +0800 Subject: [PATCH] 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 --- mt7915/mt7915.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mt7915/mt7915.h b/mt7915/mt7915.h index 43dc27c5..e5f89161 100644 --- a/mt7915/mt7915.h +++ b/mt7915/mt7915.h @@ -319,7 +319,7 @@ struct mt7915_dev { void *cal; struct { - u8 table_mask; + u16 table_mask; u8 n_agrt; } twt;