Commit c9572e3a authored by Guido Gunther's avatar Guido Gunther Committed by Guido Gunther
Browse files

Fix build with kernel 5.7

Add 0001-Update-to-newer-wireless-API.patch and
0002-Add-missing-break.patch for that.
parent d0f23386
Pipeline #58310 passed with stages
in 1 minute and 44 seconds
From: =?utf-8?q?Guido_G=C3=BCnther?= <guido.gunther@puri.sm>
Date: Mon, 17 Aug 2020 12:34:06 +0000
Subject: Update to newer wireless API
cancel_roc now gets vif as well
---
rsi/rsi_91x_mac80211.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/rsi/rsi_91x_mac80211.c b/rsi/rsi_91x_mac80211.c
index 378d064..05177cd 100644
--- a/rsi/rsi_91x_mac80211.c
+++ b/rsi/rsi_91x_mac80211.c
@@ -2799,11 +2799,11 @@ void rsi_roc_timeout(struct timer_list *t)
mutex_unlock(&common->mutex);
}
-static int rsi_mac80211_cancel_roc(struct ieee80211_hw *hw)
+static int rsi_mac80211_cancel_roc(struct ieee80211_hw *hw,
+ struct ieee80211_vif *vif)
{
struct rsi_hw *adapter = hw->priv;
struct rsi_common *common = adapter->priv;
- struct ieee80211_vif *vif = common->roc_vif;
struct vif_priv *vif_info = (struct vif_priv *)vif->drv_priv;
enum opmode intf_mode;
From: =?utf-8?q?Guido_G=C3=BCnther?= <guido.gunther@puri.sm>
Date: Mon, 17 Aug 2020 12:35:19 +0000
Subject: Add missing break
---
rsi/rsi_91x_mgmt.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/rsi/rsi_91x_mgmt.c b/rsi/rsi_91x_mgmt.c
index 0a3a67a..0299f14 100644
--- a/rsi/rsi_91x_mgmt.c
+++ b/rsi/rsi_91x_mgmt.c
@@ -3754,6 +3754,7 @@ int rsi_mgmt_pkt_recv(struct rsi_common *common, u8 *msg)
"##### Un-intentional Wakeup #####\n");
break;
}
+ break;
#ifdef CONFIG_RSI_11K
case RADIO_MEAS_RPT:
rsi_hex_dump(ERR_ZONE, "11K RRM RX CMD FRAME",
0001-Update-to-newer-wireless-API.patch
0002-Add-missing-break.patch
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment