Skip to content

Commit

Permalink
Fix: WiFi client mode #47
Browse files Browse the repository at this point in the history
Trying to hijack a "by default proto" in a wifi mode that could be used
for other protos breack the architecture, at current time there is no
staisfactory proposal on how to _suggest_ a default proto without
breaking the architecture.
The cleaner approach seems to have the wifi client mode working the same
as all other modes.
  • Loading branch information
G10h4ck committed May 18, 2017
1 parent 3e3c0f8 commit 6ded289
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions packages/lime-system/files/usr/lib/lua/lime/mode/client.lua
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@ client.wifi_mode="sta"

function client.setup_radio(radio, args)
--! checks("table", "?table")

args["network"] = "wan"
return wireless.createBaseWirelessIface(radio, client.wifi_mode, nil, args)
end

Expand Down

0 comments on commit 6ded289

Please sign in to comment.