mirror of
https://git.openwrt.org/openwrt/openwrt.git
synced 2025-12-10 07:34:40 +01:00
Drop all upstreamed patch and refresh all affected patch.
Minor changes were needed to the
350-mac80211-allow-scanning-while-on-radar-channel due to changes in
6.18.
Also some changes were needed to downstream patch due to upstream commit
b74947b4f6ff ("wifi: cfg80211/mac80211: Add support to get radio index")
Link: https://github.com/openwrt/openwrt/pull/20964
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
21 lines
579 B
Diff
21 lines
579 B
Diff
--- a/drivers/net/wireless/marvell/libertas/cfg.c
|
|
+++ b/drivers/net/wireless/marvell/libertas/cfg.c
|
|
@@ -2105,6 +2105,8 @@ struct wireless_dev *lbs_cfg_alloc(struc
|
|
goto err_wiphy_new;
|
|
}
|
|
|
|
+ set_wiphy_dev(wdev->wiphy, dev);
|
|
+
|
|
return wdev;
|
|
|
|
err_wiphy_new:
|
|
--- a/drivers/net/wireless/marvell/libertas/main.c
|
|
+++ b/drivers/net/wireless/marvell/libertas/main.c
|
|
@@ -852,6 +852,7 @@ struct lbs_private *lbs_add_card(void *c
|
|
goto err_adapter;
|
|
}
|
|
|
|
+ dev_net_set(dev, wiphy_net(wdev->wiphy));
|
|
dev->ieee80211_ptr = wdev;
|
|
dev->ml_priv = priv;
|
|
SET_NETDEV_DEV(dev, dmdev);
|