Skip to content

Commit 588e22e

Browse files
committed
Bump vintage_net_wifi to fix WPA3 issues
This reverts the default `VintageNetWiFi.quick_configure/2` call to just use WPA2 except on RPi5. This fixes issues on BBB and GRiSP2. The RPi5 still doesn't support WPA3, but it handles the generic configuration fine and hopefully in the future WPA3 will work.
1 parent 9eb9c37 commit 588e22e

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

config/rpi5.exs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,3 +8,7 @@ config :vintage_net,
88
{"eth0", %{type: VintageNetEthernet, ipv4: %{method: :dhcp}}},
99
{"wlan0", %{type: VintageNetWiFi}}
1010
]
11+
12+
# The RPi5 doesn't support WPA3 yet, but it also doesn't fail with the generic
13+
# configuration. This will enable WPA3 support when it's available.
14+
config :vintage_net_wifi, :quick_configure, &VintageNetWiFi.Cookbook.generic/2

mix.exs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ defmodule CircuitsQuickstart.MixProject do
6060
# Dependencies for all targets except :host
6161
{:nerves_runtime, "~> 0.13.0", targets: @all_targets},
6262
{:nerves_pack, "~> 0.7.0", targets: @all_targets},
63-
{:vintage_net_wifi, "~> 0.12.4", targets: @all_targets},
63+
{:vintage_net_wifi, "~> 0.12.5", targets: @all_targets},
6464

6565
# Dependencies for specific targets
6666
{:nerves_system_rpi, "~> 1.27", runtime: false, targets: :rpi},

mix.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,5 +53,5 @@
5353
"vintage_net": {:hex, :vintage_net, "0.13.5", "b02cbb44434eba68d8e991e7c9a75d491da73c3073ff4823843e66f451d6f088", [:make, :mix], [{:beam_notify, "~> 0.2.0 or ~> 1.0", [hex: :beam_notify, repo: "hexpm", optional: false]}, {:elixir_make, "~> 0.6", [hex: :elixir_make, repo: "hexpm", optional: false]}, {:gen_state_machine, "~> 2.0.0 or ~> 2.1.0 or ~> 3.0.0", [hex: :gen_state_machine, repo: "hexpm", optional: false]}, {:muontrap, "~> 0.5.1 or ~> 0.6.0 or ~> 1.0", [hex: :muontrap, repo: "hexpm", optional: false]}, {:property_table, "~> 0.2.0", [hex: :property_table, repo: "hexpm", optional: false]}], "hexpm", "67e04b8eaa40600bbea4902aba363792598b31cf144f6033d93d7662b60519ad"},
5454
"vintage_net_direct": {:hex, :vintage_net_direct, "0.10.7", "940561c375f04d6734ac78100ae1d8ef790ffd7e966f70efb525230fa1bc5774", [:mix], [{:one_dhcpd, "~> 0.2.3 or ~> 1.0 or ~> 2.0", [hex: :one_dhcpd, repo: "hexpm", optional: false]}, {:vintage_net, "~> 0.9.1 or ~> 0.10.0 or ~> 0.11.0 or ~> 0.12.0 or ~> 0.13.0", [hex: :vintage_net, repo: "hexpm", optional: false]}], "hexpm", "c040e9c33220495c28ba4464c5924da00bd4949627c4cb9c99ba1ed96f7b9429"},
5555
"vintage_net_ethernet": {:hex, :vintage_net_ethernet, "0.11.2", "ef67db5ace9ad5ca5bf229a507247f9eb45b847dc0ff694a6e8a156ed9c5915d", [:mix], [{:vintage_net, "~> 0.12.0 or ~> 0.13.0", [hex: :vintage_net, repo: "hexpm", optional: false]}], "hexpm", "6915f9e15e1aa15e52d1948f318ce5109181d1ad7aaa50016bad5dd8e22df9ea"},
56-
"vintage_net_wifi": {:hex, :vintage_net_wifi, "0.12.4", "bb8f23ca979a592886003eaf78bb495b8500ca604ca2d3b8ddf2e09d1b1ccd60", [:make, :mix], [{:elixir_make, "~> 0.6", [hex: :elixir_make, repo: "hexpm", optional: false]}, {:vintage_net, "~> 0.12.0 or ~> 0.13.0", [hex: :vintage_net, repo: "hexpm", optional: false]}], "hexpm", "608a6d43ae0053da7628f68186aa4959794e66bf591d56d63f6b4edc7afcc7de"},
56+
"vintage_net_wifi": {:hex, :vintage_net_wifi, "0.12.5", "a19a3f78070470ecc00fa1d3d32982c41f39c2c06edb6cd53a8c13905aed8623", [:make, :mix], [{:elixir_make, "~> 0.6", [hex: :elixir_make, repo: "hexpm", optional: false]}, {:vintage_net, "~> 0.12.0 or ~> 0.13.0", [hex: :vintage_net, repo: "hexpm", optional: false]}], "hexpm", "4b477b9cccf54145bd6f7bf1f023ece63fa11395229bae365861de062c60a2f0"},
5757
}

0 commit comments

Comments
 (0)