mirror of
https://github.com/vanhoefm/fragattacks.git
synced 2024-11-25 08:48:31 -05:00
nl80211: Skip vendor specific DFS offload if upstream mechanism is used
Since the generic DFS offload support flag is added as NL80211_EXT_FEATURE_DFS_OFFLOAD, only use the vendor command to check DFS capablity if the flag is not already set. Signed-off-by: Peng Xu <pxu@codeaurora.org>
This commit is contained in:
parent
7bf86e4416
commit
946e35eace
@ -1219,7 +1219,8 @@ int wpa_driver_nl80211_capa(struct wpa_driver_nl80211_data *drv)
|
||||
drv->capa.flags &= ~WPA_DRIVER_FLAGS_EAPOL_TX_STATUS;
|
||||
|
||||
#ifdef CONFIG_DRIVER_NL80211_QCA
|
||||
qca_nl80211_check_dfs_capa(drv);
|
||||
if (!(info.capa->flags & WPA_DRIVER_FLAGS_DFS_OFFLOAD))
|
||||
qca_nl80211_check_dfs_capa(drv);
|
||||
qca_nl80211_get_features(drv);
|
||||
qca_nl80211_check_he_capab(drv);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user