I've tried to test this patch via wpa_supplicant(8) in order to initiate auth/assoc on STA. Below is my configuration file of wpa_supplicant(8):
```
network={
ssid="test"
key_mgmt=NONE
}
```
And while running wpa_supplicant(8), it keeps returning this error message:
```
ioctl[SIOCS80211, op=26, val=3, arg_len=0]: Operation not supported
wpa_driver_bsd_scan: failed to set wpa: Operation not supported
```
After ORing `IEEE80211_C_WPA` to `ic->ic_cap` to pretend that we support WPA, then we have another error message while running wpa_supplicant(8) again:
```
ioctl[SIOCS80211, op=103, val=0, arg_len=128]: Operation now in progress
wlan1: CTRL-EVENT-SCAN-FAILED ret=-1 retry=1
```
I think there might be a right configuration that can correctly setup wpa_supplicant(8) and do auth/assoc, but I come up with a way to fix this problem which is described in D36242.