This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Linux/WL1807MOD: could app keep running ifconfig wlan0 up screw up the driver?

Part Number: WL1807MOD

Tool/software: Linux

Hi, Actually it is stretching from the previous related question "Linux/WL1807MOD: wlcore: WARNING corrupted packet in RX". The last suggestion from Saurabh was:

In reply to minghua:

Mar 22, 2019 2:59 AM
Hi,
This is what you can try
- stop wpa supplicant and any other program using wlan0 interface
- bring down wlan0 interface
- unload wl8 driver modules ( scripts in /usr/share/wl18xx/ )
- bring all of these up again

check if this fixes the issue .

Thanks
Saurabh

What we've found out just the last week is that in our app there was a loop it keeps calling a system command: "ifconfig wlan0 up", when the interface is donw. That somehow caused the problem. If we take that "ifconfig wlan0 up" command out of the busy loop, to run it only after seeing the "MULTICAST,UP" string in the "ip link show dev wlan0" command output, the problem goes away.

Should this be a proper fix or should something else be looked at too?

Thanks.