    connect(back, &QPushButton::clicked, [=]() { emit backPress(); });
    main_layout->addWidget(back, 0, Qt::AlignLeft);
  
    // Enable tethering layout
    ToggleControl *tetheringToggle = new ToggleControl("Enable Tethering", "", "", wifi->isTetheringEnabled());
    main_layout->addWidget(tetheringToggle);
    QObject::connect(tetheringToggle, &ToggleControl::toggleFlipped, this, &AdvancedNetworking::toggleTethering);
    main_layout->addWidget(horizontal_line(), 0);
  
    // Change tethering password
 
</s>
  tetheringToggle = new ToggleControl("Enable Tethering", "", "", wifi->isTetheringEnabled());
    connect(back, &QPushButton::clicked, [=]() { emit backPress(); });
    main_layout->addWidget(back, 0, Qt::AlignLeft);
  
    // Enable tethering layout
  tetheringToggle = new ToggleControl("Enable Tethering", "", "", wifi->isTetheringEnabled());
    main_layout->addWidget(tetheringToggle);
    QObject::connect(tetheringToggle, &ToggleControl::toggleFlipped, this, &AdvancedNetworking::toggleTethering);
    main_layout->addWidget(horizontal_line(), 0);
  
    // Change tethering password
keep keep keep keep replace keep keep keep keep keep
 networking: disable tethering toggle while connecting (#21785)

* disable until connected

* disabling takes longest

* try enabling on refresh

* clean up
selfdrive/ui/qt/offroad/networking.cc