diff options
Diffstat (limited to 'src/ap/ieee802_11.c')
-rw-r--r-- | src/ap/ieee802_11.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ap/ieee802_11.c b/src/ap/ieee802_11.c index 51a95c4..a1a7270 100644 --- a/src/ap/ieee802_11.c +++ b/src/ap/ieee802_11.c @@ -555,7 +555,7 @@ static u16 check_wmm(struct hostapd_data *hapd, struct sta_info *sta, if (wmm_ie && hapd->conf->wmm_enabled) { struct wmm_information_element *wmm; - if (hostapd_eid_wmm_valid(hapd, wmm_ie, wmm_ie_len)) { + if (!hostapd_eid_wmm_valid(hapd, wmm_ie, wmm_ie_len)) { hostapd_logger(hapd, sta->addr, HOSTAPD_MODULE_WPA, HOSTAPD_LEVEL_DEBUG, |