mac80211: refactor duplicate detection
authorJohannes Berg <johannes.berg@intel.com>
Tue, 11 Nov 2014 15:49:25 +0000 (16:49 +0100)
committerJohannes Berg <johannes.berg@intel.com>
Tue, 11 Nov 2014 16:05:43 +0000 (17:05 +0100)
commit0395442ad25853f50d515f4dc00e3475b0df920d
tree45f488e34a854c79826cc453d96eeaccf892a14e
parenta6d4a534e15f0e1b13b518c31219f9fb7166412a
mac80211: refactor duplicate detection

Put duplicate detection into its own RX handler, and separate
out the conditions a bit to make the code more readable.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/rx.c