lakinduakash / linux-wifi-hotspot

Feature-rich wifi hotspot creator for Linux which provides both GUI and command-line interface. It is also able to create a hotspot using the same wifi card which is connected to an AP already ( Similar to Windows 10).
BSD 2-Clause "Simplified" License
3.2k stars 296 forks source link

FREQ_BAND in configuration file is invalid #236

Closed cnjhb closed 2 years ago

cnjhb commented 2 years ago

Describe the bug FREQ_BAND in configuration file is invalid

To Reproduce Steps to reproduce the behavior:

  1. Set FREQ_BAND in the configuration file to 2.4
  2. use that configuration file
  3. But still using band 5

Expected behavior in the config file set 2.4 -> use 2.4 set 5 -> use 5

Desktop (please complete the following information):

lakinduakash commented 2 years ago

Thanks, btw this worked until then and no issue occurred. Did you test the behavior after PR?

cnjhb commented 2 years ago

i tested,it works.

cnjhb commented 2 years ago

FREQ_BAND_SET is not set when reading FREQ_BAND from a configuration file, which will cause the band to be automatically selected.