All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] mac80211_hwsim: fix incorrect type in initializer
@ 2021-09-22 14:16 Ramon Fontes
  2021-09-22 14:18 ` Johannes Berg
  0 siblings, 1 reply; 2+ messages in thread
From: Ramon Fontes @ 2021-09-22 14:16 UTC (permalink / raw)
  To: linux-kernel, netdev, linux-wireless; +Cc: johannes, kvalo, davem, Ramon Fontes

This issue was raised by patchwork at:
https://patchwork.kernel.org/project/linux-wireless/patch/20210906175350.13461-1-ramonreisfontes@gmail.com/

Signed-off-by: Ramon Fontes <ramonreisfontes@gmail.com>
---
 drivers/net/wireless/mac80211_hwsim.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/drivers/net/wireless/mac80211_hwsim.c b/drivers/net/wireless/mac80211_hwsim.c
index d36770db1..e31770439 100644
--- a/drivers/net/wireless/mac80211_hwsim.c
+++ b/drivers/net/wireless/mac80211_hwsim.c
@@ -2997,8 +2997,8 @@ static const struct ieee80211_sband_iftype_data he_capa_6ghz[] = {
 			.capa = IEEE80211_HE_6GHZ_CAP_MIN_MPDU_START |
 			        IEEE80211_HE_6GHZ_CAP_MAX_AMPDU_LEN_EXP |
 			        IEEE80211_HE_6GHZ_CAP_MAX_MPDU_LEN |
-			        IEEE80211_HE_6GHZ_CAP_TX_ANTPAT_CONS |
-			        IEEE80211_HE_6GHZ_CAP_RX_ANTPAT_CONS,
+			        cpu_to_le16(IEEE80211_HE_6GHZ_CAP_TX_ANTPAT_CONS |
+			        IEEE80211_HE_6GHZ_CAP_RX_ANTPAT_CONS),
 		},
 		.he_cap = {
 			.has_he = true,
@@ -3055,8 +3055,8 @@ static const struct ieee80211_sband_iftype_data he_capa_6ghz[] = {
 			.capa = IEEE80211_HE_6GHZ_CAP_MIN_MPDU_START |
 			        IEEE80211_HE_6GHZ_CAP_MAX_AMPDU_LEN_EXP |
 			        IEEE80211_HE_6GHZ_CAP_MAX_MPDU_LEN |
-			        IEEE80211_HE_6GHZ_CAP_TX_ANTPAT_CONS |
-			        IEEE80211_HE_6GHZ_CAP_RX_ANTPAT_CONS,
+			        cpu_to_le16(IEEE80211_HE_6GHZ_CAP_TX_ANTPAT_CONS |
+			        IEEE80211_HE_6GHZ_CAP_RX_ANTPAT_CONS),
 		},
 		.he_cap = {
 			.has_he = true,
-- 
2.25.1


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] mac80211_hwsim: fix incorrect type in initializer
  2021-09-22 14:16 [PATCH] mac80211_hwsim: fix incorrect type in initializer Ramon Fontes
@ 2021-09-22 14:18 ` Johannes Berg
  0 siblings, 0 replies; 2+ messages in thread
From: Johannes Berg @ 2021-09-22 14:18 UTC (permalink / raw)
  To: Ramon Fontes, linux-kernel, netdev, linux-wireless; +Cc: kvalo, davem

On Wed, 2021-09-22 at 11:16 -0300, Ramon Fontes wrote:
> This issue was raised by patchwork at:
> https://patchwork.kernel.org/project/linux-wireless/patch/20210906175350.13461-1-ramonreisfontes@gmail.com/

That wasn't patchwork that was the robot, but ... I don't think I've
even applied that patch, so pleaes resend it with the correction
included.

johannes


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-09-22 14:18 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-09-22 14:16 [PATCH] mac80211_hwsim: fix incorrect type in initializer Ramon Fontes
2021-09-22 14:18 ` Johannes Berg

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.