Skip to content

Commit

Permalink
Merge pull request #1073 from pony1k/fix-wifi-iface-options
Browse files Browse the repository at this point in the history
Prevent unnecessary options in wifi-iface
  • Loading branch information
G10h4ck authored Feb 5, 2024
2 parents 5053cf0 + 4c83806 commit c98578e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packages/lime-system/files/usr/lib/lua/lime/wireless.lua
Original file line number Diff line number Diff line change
Expand Up @@ -191,6 +191,9 @@ function wireless.configure()
and (not key:match("legacy_rates"))
and (not key:match("txpower"))
and (not key:match("htmode"))
and (not key:match("distance"))
and (not key:match("unstuck_interval"))
and (not key:match("unstuck_timeout"))
and (not (wireless.isMode(keyPrefix) and keyPrefix ~= modeName)))
if isGoodOption then
local nk = key:gsub("^"..modeName.."_", "")
Expand Down

0 comments on commit c98578e

Please sign in to comment.