Commit 5e748863 authored by Martin Kepplinger's avatar Martin Kepplinger
Browse files

net: wireless: redpine: update API to recent kernels

parent 1cfbc811
...@@ -2869,11 +2869,10 @@ void rsi_roc_timeout(struct timer_list *t) ...@@ -2869,11 +2869,10 @@ void rsi_roc_timeout(struct timer_list *t)
mutex_unlock(&common->mutex); 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_hw *adapter = hw->priv;
struct rsi_common *common = adapter->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; struct vif_priv *vif_info = (struct vif_priv *)vif->drv_priv;
enum opmode intf_mode; enum opmode intf_mode;
......
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