Aw: Aw: [PATCH wireless] wifi: mt76: mt7996: fix invalid interface combinations

Kalle Valo kvalo at kernel.org
Wed Jan 8 01:46:58 PST 2025


Frank Wunderlich <frank-w at public-files.de> writes:

> Hi
>
> this seems still not merged to next.
>
> can wireless/mtk Maintainer please pick this up?
>
>> Gesendet: Mittwoch, 9. Oktober 2024 um 19:23
>> Betreff: Aw: [PATCH wireless] wifi: mt76: mt7996: fix invalid interface combinations
>>
>> Hi Shayne
>>
>> > Gesendet: Montag, 07. Oktober 2024 um 15:51 Uhr
>> > Von: "Shayne Chen" <shayne.chen at mediatek.com>
>> > Betreff: [PATCH wireless] wifi: mt76: mt7996: fix invalid interface combinations
>> >
>> > Setting beacon_int_min_gcd and NL80211_IFTYPE_ADHOC in the same interface
>> > combination is invalid, which will trigger the following warning trace
>> > and get error returned from wiphy_register().
>> >
>> > [   10.080325] Call trace:
>> > [   10.082761]  wiphy_register+0xc4/0x76c [cfg80211]
>> > [   10.087465]  ieee80211_register_hw+0x800/0xac4 [mac80211]
>> > [   10.092868]  mt76_register_device+0x16c/0x2c0 [mt76]
>> > [   10.097829]  mt7996_register_device+0x740/0x844 [mt7996e]
>> >
>> > Fix this by removing unused adhoc iftype.
>> >
>> > Fixes: 948f65249868 ("wifi: mt76: mt7996: advertize beacon_int_min_gcd")
>> > Reported-by: Frank Wunderlich <frank-w at public-files.de>
>> > Signed-off-by: Shayne Chen <shayne.chen at mediatek.com>
>>
>> thx for the patch. I can confirm it fixes the issue/trace.
>
> if tested-by is necessary:
>
> Tested-By: Frank Wunderlich <frank-w at public-files.de>

Felix, should I take this directly to wireless-next? Ack?

-- 
https://patchwork.kernel.org/project/linux-wireless/list/

https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches



More information about the Linux-mediatek mailing list