diff options
author | Rafał Miłecki <rafal@milecki.pl> | 2016-09-12 17:28:22 (GMT) |
---|---|---|
committer | Jouni Malinen <j@w1.fi> | 2016-09-17 17:08:24 (GMT) |
commit | ea19b39f60b60494e17171aae5556cca2addff47 (patch) | |
tree | 47081be29e571745166cdf35b66323046ed0d90e /hostapd/wps-ap-nfc.py | |
parent | 205d2d1ff5f224e21634e25fe2decc911fb1be45 (diff) | |
download | hostap-ea19b39f60b60494e17171aae5556cca2addff47.zip hostap-ea19b39f60b60494e17171aae5556cca2addff47.tar.gz hostap-ea19b39f60b60494e17171aae5556cca2addff47.tar.bz2 |
Revert "nl80211: Remove duplicated check in nl80211_setup_ap()"
This reverts commit 647862eb60c324015ea31293cc052558b5185ca4.
The second check of device_ap_sme looks like duplicated, but it isn't
actually. The trick is nl80211_create_monitor_interface may change that
variable value and the second evaluation may give a different result.
This definitely isn't a very clear code, but that change caused a
regression for drivers that:
1) Don't report NL80211_ATTR_DEVICE_AP_SME
2) Don't support monitor mode
3) Don't support subscribing for PROBE_REQ and/or ACTION frames
like brcmfmac. With such drivers hostapd doesn't start anymore.
Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
Diffstat (limited to 'hostapd/wps-ap-nfc.py')
0 files changed, 0 insertions, 0 deletions