diff options
author | Johannes Berg <johannes.berg@intel.com> | 2015-10-14 18:40:10 +0200 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2015-10-14 18:40:26 +0200 |
commit | 6f1f5d5f4dc39e579b3ac348277dd60ee9e44e08 (patch) | |
tree | 502a19b457c349172d33c715205856e42cef5ff2 /net/mac80211/wpa.c | |
parent | 3beea3513f6157500984dc6117fcf036b3380d7e (diff) | |
download | linux-stable-6f1f5d5f4dc39e579b3ac348277dd60ee9e44e08.tar.gz linux-stable-6f1f5d5f4dc39e579b3ac348277dd60ee9e44e08.tar.bz2 linux-stable-6f1f5d5f4dc39e579b3ac348277dd60ee9e44e08.zip |
mac80211: remove event.c
That file contains just a single function, which itself is just a
single statement to call a different function. Remove it.
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/mac80211/wpa.c')
-rw-r--r-- | net/mac80211/wpa.c | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/net/mac80211/wpa.c b/net/mac80211/wpa.c index feb547dc8643..d824c38971ed 100644 --- a/net/mac80211/wpa.c +++ b/net/mac80211/wpa.c @@ -174,9 +174,12 @@ mic_fail_no_key: * a driver that supports HW encryption. Send up the key idx only if * the key is set. */ - mac80211_ev_michael_mic_failure(rx->sdata, - rx->key ? rx->key->conf.keyidx : -1, - (void *) skb->data, NULL, GFP_ATOMIC); + cfg80211_michael_mic_failure(rx->sdata->dev, hdr->addr2, + is_multicast_ether_addr(hdr->addr1) ? + NL80211_KEYTYPE_GROUP : + NL80211_KEYTYPE_PAIRWISE, + rx->key ? rx->key->conf.keyidx : -1, + NULL, GFP_ATOMIC); return RX_DROP_UNUSABLE; } |