Skip to content

Instantly share code, notes, and snippets.

@overcq
Last active April 6, 2023 10:44
Show Gist options
  • Save overcq/5fdb5f257c511cb459acca5b42c138cd to your computer and use it in GitHub Desktop.
Save overcq/5fdb5f257c511cb459acca5b42c138cd to your computer and use it in GitHub Desktop.
Patch to work newest wpa_supplicant on old WiFi card
--- a/wpa_supplicant/wpa_supplicant.c
+++ b/wpa_supplicant/wpa_supplicant.c
@@ -1883,7 +1883,7 @@
static void wpas_ext_capab_byte(struct wpa_supplicant *wpa_s, u8 *pos, int idx)
{
- bool scs = true, mscs = true;
+ bool scs = false, mscs = false;
*pos = 0x00;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment