@@ -333,11 +333,11 @@ Wireless interfaces are brought up and down with the 'wifi' command. To (re)star
== Regenerate Configuration
-To rebuild the configuration file, e.g. after installing a new wireless driver, remove the existing wireless configuration (if any) and use the 'wifi detect' command with stdout redirected to the '/etc/config/wireless' file:
+To rebuild the configuration file, remove the existing wireless configuration (if any) and use the 'wifi config' command:
----
rm -f /etc/config/wireless
-wifi detect > /etc/config/wireless
+wifi config
----
== 40 MHz channel width (up to 300 Mbps) for 802.11n devices ONLY
"wifi detect" has been replaced by "wifi config". It no longer needs the file redirection to /etc/config/wireless. It also removes the half sentence about rebuilding the configuration when installing a new device. I think it is bad advice to nuke the entire existing configuration just to add a new wifi device. Signed-off-by: Christian Lamparter <chunkeey@gmail.com> --- docs/uci_wireless.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)