  
  void AdvancedNetworking::refresh() {
    ipLabel->setText(wifi->ipv4_address);
    update();
  }
  
  void AdvancedNetworking::toggleTethering(bool enabled) {
 
</s> remove   ToggleControl *tetheringToggle = new ToggleControl("Enable Tethering", "", "", wifi->isTetheringEnabled());
 </s> add   tetheringToggle = new ToggleControl("Enable Tethering", "", "", wifi->isTetheringEnabled());
  tetheringToggle->setEnabled(true);
  
  void AdvancedNetworking::refresh() {
    ipLabel->setText(wifi->ipv4_address);
  tetheringToggle->setEnabled(true);
    update();
  }
  
  void AdvancedNetworking::toggleTethering(bool enabled) {
keep keep add 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