[FS#800] ath9k sta and ap mode change. system hang
LEDE Bugs
lede-bugs at lists.infradead.org
Mon May 22 20:51:39 PDT 2017
A new Flyspray task has been opened. Details are below.
User who did this - 李鹏 (lipeng)
Attached to Project - LEDE Project
Summary - ath9k sta and ap mode change. system hang
Task Type - Bug Report
Category - Kernel
Status - Unconfirmed
Assigned To -
Operating System - All
Severity - Critical
Priority - Very Low
Reported Version - Trunk
Due in Version - Undecided
Due Date - Undecided
Details - mips device with ar9580 wireless card sta and ap mode change by use test.sh
test.sh
while [ 1 ]
do
mv /etc/config/wireless /etc/config/wirelessbak
mv /etc/config/wireless1 /etc/config/wireless
mv /etc/config/wirelessbak /etc/config/wireless1
/etc/init.d/network restart
sleep 50
done
I found the system will hang , It like a deadlock but I can't verify
Use the same shell I change the ath9k code
just delete the full sleep timer
modify ath9k_ps_wakeup ath9k_ps_restore
delete mod_timer(&sc->sc_pm_lock,flags);
detete del_timer_sync(&sc->sc_pm_lock);
The system run ok
More information can be found at the following URL:
https://bugs.lede-project.org/index.php?do=details&task_id=800
More information about the lede-bugs
mailing list