Commit 7eb1e5d8 authored by Paul Fertser's avatar Paul Fertser Committed by sanglipeng
Browse files

wifi: mt76: mt7615: do not advertise 5 GHz on first phy of MT7615D (DBDC)

stable inclusion
from stable-v5.10.190
commit c0e7123e896acc122edbcb81ee16ea28ef09a492
category: bugfix
bugzilla: https://gitee.com/openeuler/kernel/issues/I928UI

Reference: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=c0e7123e896acc122edbcb81ee16ea28ef09a492



--------------------------------

[ Upstream commit 421033de ]

On DBDC devices the first (internal) phy is only capable of using
2.4 GHz band, and the 5 GHz band is exposed via a separate phy object,
so avoid the false advertising.

Reported-by: default avatarRani Hod <rani.hod@gmail.com>
Closes: https://github.com/openwrt/openwrt/pull/12361


Fixes: 7660a1bd ("mt76: mt7615: register ext_phy if DBDC is detected")
Cc: stable@vger.kernel.org
Signed-off-by: default avatarPaul Fertser <fercerpav@gmail.com>
Reviewed-by: default avatarSimon Horman <simon.horman@corigine.com>
Acked-by: default avatarFelix Fietkau <nbd@nbd.name>
Signed-off-by: default avatarKalle Valo <kvalo@kernel.org>
Link: https://lore.kernel.org/r/20230605073408.8699-1-fercerpav@gmail.com


Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
Signed-off-by: default avatarsanglipeng <sanglipeng1@jd.com>
parent 80e0b484
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment