mac80211: don't remove tainted keys after not programming
authorJohannes Berg <johannes.berg@intel.com>
Mon, 13 Oct 2014 11:43:29 +0000 (13:43 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Wed, 22 Oct 2014 09:30:30 +0000 (11:30 +0200)
commit4619194a49bfbbb03d20d4ca45c3eb1dc8297d9d
tree55b90997564602f237f2168a371bad73bebcdea4
parent02219b3abca59fca81711bfe7ee78df7abad97ce
mac80211: don't remove tainted keys after not programming

When a key is tainted during resume, it is no longer programmed
into the device; however, it's uploaded flag may (will) be set.
Clear the flag when not programming it because it's tainted to
avoid attempting to remove it again later.

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