Commit b43ede03 authored by Martin Kepplinger's avatar Martin Kepplinger
Browse files

RS9116.NB0.NL.LNX.PURISM_FW_UPGRADE.1.0.5: updates for building against new kernels

* remove -Werror so that we build despite a switch case fallthrough
* update a mac80211 API just like we have done in Linux:

--- a/drivers/net/wireless/redpine/rsi_91x_mac80211.c
+++ b/drivers/net/wireless/redpine/rsi_91x_mac80211.c
@@ -2869,11 +2869,10 @@ void rsi_roc_timeout(struct timer_list *t)

-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;
parent c9360035
Pipeline #51535 passed with stage
in 24 seconds
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