]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit1b5b6736627ff130fe969824169fca33417822c9
tree55b90997564602f237f2168a371bad73bebcdea4
parentcae169a206f3bde044e8b7945f5f28efb7374d0b
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