diff options
Diffstat (limited to 'net/mac80211/mlme.c')
-rw-r--r-- | net/mac80211/mlme.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/net/mac80211/mlme.c b/net/mac80211/mlme.c index 0024eff9bb84..fe4aefb06d9f 100644 --- a/net/mac80211/mlme.c +++ b/net/mac80211/mlme.c | |||
@@ -897,7 +897,8 @@ void ieee80211_send_nullfunc(struct ieee80211_local *local, | |||
897 | struct ieee80211_hdr_3addr *nullfunc; | 897 | struct ieee80211_hdr_3addr *nullfunc; |
898 | struct ieee80211_if_managed *ifmgd = &sdata->u.mgd; | 898 | struct ieee80211_if_managed *ifmgd = &sdata->u.mgd; |
899 | 899 | ||
900 | skb = ieee80211_nullfunc_get(&local->hw, &sdata->vif, true); | 900 | skb = ieee80211_nullfunc_get(&local->hw, &sdata->vif, |
901 | !ieee80211_hw_check(&local->hw, DOESNT_SUPPORT_QOS_NDP)); | ||
901 | if (!skb) | 902 | if (!skb) |
902 | return; | 903 | return; |
903 | 904 | ||