mirror of
https://github.com/breeze303/openwrt-ipq.git
synced 2025-12-17 06:31:06 +00:00
20 lines
604 B
Diff
20 lines
604 B
Diff
--- a/drivers/net/wireless/ath/ath10k/mac.c
|
|
+++ b/drivers/net/wireless/ath/ath10k/mac.c
|
|
@@ -5527,7 +5527,7 @@ static int ath10k_mac_set_txbf_conf(stru
|
|
ar->wmi.vdev_param->txbf, value);
|
|
}
|
|
|
|
-static void ath10k_update_vif_offload(struct ieee80211_hw *hw,
|
|
+static int ath10k_update_vif_offload(struct ieee80211_hw *hw,
|
|
struct ieee80211_vif *vif)
|
|
{
|
|
struct ath10k_vif *arvif = (void *)vif->drv_priv;
|
|
@@ -5549,6 +5549,7 @@ static void ath10k_update_vif_offload(st
|
|
ath10k_warn(ar, "failed to set vdev %i TX encapsulation: %d\n",
|
|
arvif->vdev_id, ret);
|
|
}
|
|
+ return ret;
|
|
}
|
|
|
|
/*
|