#18687: massive setting reg cause it become read only
----------------------+------------------------
 Reporter:  xuefer    |      Owner:  developers
     Type:  defect    |     Status:  new
 Priority:  normal    |  Milestone:
Component:  packages  |    Version:  Trunk
 Keywords:            |
----------------------+------------------------
 {{{
 iwinfo  wlan0 countrylist | sed 's#*##g' | while read a b; do iw reg set
 "$a"; done
 }}}

 after the command above, it become read-only, "iw reg get" always output
 "country AF"

 i have to reload the driver to make it writable
 {{{
 for i in ath9k  ath9k_common ath9k_hw ath10k_pci ath10k_core ath mac80211
 cfg80211 ; do echo $i; rmmod $i; done; modprobe ath9k
 }}}

 my device: 04:05.0 Network controller: Qualcomm Atheros AR922X Wireless
 Network Adapter (rev 01)

--
Ticket URL: <https://dev.openwrt.org/ticket/18687>
OpenWrt <http://openwrt.org>
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-tickets

Reply via email to