diff options
Diffstat (limited to 'net/mac80211/util.c')
-rw-r--r-- | net/mac80211/util.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/net/mac80211/util.c b/net/mac80211/util.c index da86e1592f8c..5ae1bf389849 100644 --- a/net/mac80211/util.c +++ b/net/mac80211/util.c | |||
@@ -872,7 +872,8 @@ void ieee80211_send_auth(struct ieee80211_sub_if_data *sdata, | |||
872 | WARN_ON(err); | 872 | WARN_ON(err); |
873 | } | 873 | } |
874 | 874 | ||
875 | ieee80211_tx_skb(sdata, skb, 0); | 875 | IEEE80211_SKB_CB(skb)->flags |= IEEE80211_TX_INTFL_DONT_ENCRYPT; |
876 | ieee80211_tx_skb(sdata, skb); | ||
876 | } | 877 | } |
877 | 878 | ||
878 | int ieee80211_build_preq_ies(struct ieee80211_local *local, u8 *buffer, | 879 | int ieee80211_build_preq_ies(struct ieee80211_local *local, u8 *buffer, |
@@ -974,7 +975,8 @@ void ieee80211_send_probe_req(struct ieee80211_sub_if_data *sdata, u8 *dst, | |||
974 | skb_put(skb, ieee80211_build_preq_ies(local, pos, ie, ie_len, | 975 | skb_put(skb, ieee80211_build_preq_ies(local, pos, ie, ie_len, |
975 | local->hw.conf.channel->band)); | 976 | local->hw.conf.channel->band)); |
976 | 977 | ||
977 | ieee80211_tx_skb(sdata, skb, 0); | 978 | IEEE80211_SKB_CB(skb)->flags |= IEEE80211_TX_INTFL_DONT_ENCRYPT; |
979 | ieee80211_tx_skb(sdata, skb); | ||
978 | } | 980 | } |
979 | 981 | ||
980 | u32 ieee80211_sta_get_rates(struct ieee80211_local *local, | 982 | u32 ieee80211_sta_get_rates(struct ieee80211_local *local, |