Johannes Berg 7d7b00759e mac80211: free skb in WEP error case
If, for some strange reason, ieee80211_wep_encrypt() fails in
ieee80211_send_auth() free the SKB instead of sending out the
useless frame, in addition to the warning. This can't really
happen since the SKB was freshly allocated.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Link: https://lore.kernel.org/r/iwlwifi.20210618133832.98f058d7a8b2.Ie605e6a10e72eae02f5734032826af48b85b6d11@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
2021-06-23 11:29:14 +02:00
..
2021-06-02 14:01:55 -07:00
2021-03-30 16:54:50 -07:00
2021-06-03 13:24:23 -07:00
2021-06-02 14:01:55 -07:00
2021-06-07 14:08:30 -07:00
2021-06-22 14:36:01 -07:00
2021-06-07 14:08:30 -07:00
2021-06-22 10:47:32 -07:00
2021-06-02 14:01:55 -07:00
2021-05-27 08:46:19 -04:00
2021-06-03 15:13:56 -07:00