Re: [PATCH v1 2/5] ixp4xx: Resurrect IXP4xx support using device tree

2023-08-17 Thread Linus Walleij
Thanks for reviewing this Hauke!

I fixed most things, will post v2 as time permits.

On Fri, Aug 11, 2023 at 4:27 PM Hauke Mehrtens  wrote:

> Do you still have the fconfig tool which access something in /dev/ to
> get the mac addresses?

Yes it was one of the leftovers that just stayed around after the
removal of the unmaintained ixp4xx boardfile machines. So I
just select it from the top-level makefile and things work fine.

Another thing left behind was the python build script for NSLU2
images.

But I needed them so it's all good when we bring IXP4xx back.
(Please don't delete them...)

I deleted one minor useless script though (patch 5).

Yours,
Linus Walleij

___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


[PATCH] netifd: allow to disable radio if reconf is enable

2023-08-17 Thread Prasun Maiti
From: "Prasun Maiti" 

radio is not down when reconf is enabled,
as not invoking __wireless_device_set_down()
and it is following reconf flow.

So, proceed if radio is not disabled for reconf

Signed-off-by: Prasun Maiti 
---
 wireless.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/wireless.c b/wireless.c
index 873c437..898a012 100644
--- a/wireless.c
+++ b/wireless.c
@@ -681,7 +681,7 @@ wdev_set_config_state(struct wireless_device *wdev, enum 
interface_config_state
return;
 
wdev->config_update = false;
-   if (s == IFC_RELOAD && wdev->reconf && wdev->state == IFS_UP) {
+   if (!wdev->disabled && s == IFC_RELOAD && wdev->reconf && wdev->state 
== IFS_UP) {
wireless_device_reconf(wdev);
return;
}
-- 
2.17.1


___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel