Skip to content

Instantly share code, notes, and snippets.

Created March 16, 2014 20:58
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/9589807 to your computer and use it in GitHub Desktop.
Save anonymous/9589807 to your computer and use it in GitHub Desktop.
--- wpa_supplicant_8.bak/src/drivers/driver_nl80211.c 2014-03-11 01:17:20.566350871 +0000
+++ wpa_supplicant_8/src/drivers/driver_nl80211.c 2014-03-15 00:58:27.566069404 +0000
@@ -4366,7 +4366,7 @@
else
NLA_PUT_U64(msg, NL80211_ATTR_WDEV, *wdev_id);
- if (params->num_ssids) {
+ if (params->num_ssids && params->ssids[0].ssid_len) {
struct nlattr *ssids;
ssids = nla_nest_start(msg, NL80211_ATTR_SCAN_SSIDS);
@devnnull
Copy link

devnnull commented Nov 8, 2016

I'm not sure how to apply the patch. Help please?
I hate a rooted phone and know to use adb. Am just not sure how to proceed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment