wpa_supplicant_lib: Fix the buffer length for SET_AP_P2P_WPS_IE ioctl lineage-18.1 lineage-19.0 lineage-19.1 lineage-20 lineage-21
authorjin <grccorps@gmail.com>
Thu, 22 Jul 2021 16:37:05 +0000 (01:37 +0900)
committerjin <grccorps@gmail.com>
Thu, 22 Jul 2021 16:37:05 +0000 (01:37 +0900)
commit70f4bf60f26b49401439ca56ece4c984d8c6952b
tree4f94ffaa9fa8e44aa726c0b0018876ca962238ab
parenta7c11d41b9f7e7832ed203592ebd68c4ce8f9a0c
wpa_supplicant_lib: Fix the buffer length for SET_AP_P2P_WPS_IE ioctl

With the buffer length of 3, the iftype argument was not included to the ioctl command. Changing this to 5 fixed wifi direct on Galaxy A21s

Change-Id: Iaded6223680a083175cee62ea5cb5fa343d048dd
driver_cmd_nl80211.c