aboutsummaryrefslogtreecommitdiffstats
path: root/net/mac80211/event.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/mac80211/event.c')
-rw-r--r--net/mac80211/event.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/net/mac80211/event.c b/net/mac80211/event.c
index 3ac636285fb1..01ae759518f6 100644
--- a/net/mac80211/event.c
+++ b/net/mac80211/event.c
@@ -16,11 +16,12 @@
16 * driver or is still in the frame), it should provide that information. 16 * driver or is still in the frame), it should provide that information.
17 */ 17 */
18void mac80211_ev_michael_mic_failure(struct ieee80211_sub_if_data *sdata, int keyidx, 18void mac80211_ev_michael_mic_failure(struct ieee80211_sub_if_data *sdata, int keyidx,
19 struct ieee80211_hdr *hdr, const u8 *tsc) 19 struct ieee80211_hdr *hdr, const u8 *tsc,
20 gfp_t gfp)
20{ 21{
21 cfg80211_michael_mic_failure(sdata->dev, hdr->addr2, 22 cfg80211_michael_mic_failure(sdata->dev, hdr->addr2,
22 (hdr->addr1[0] & 0x01) ? 23 (hdr->addr1[0] & 0x01) ?
23 NL80211_KEYTYPE_GROUP : 24 NL80211_KEYTYPE_GROUP :
24 NL80211_KEYTYPE_PAIRWISE, 25 NL80211_KEYTYPE_PAIRWISE,
25 keyidx, tsc); 26 keyidx, tsc, gfp);
26} 27}