mac80211: Set CAN_REPLACE_PTK0 for SW crypto only drivers
authorAlexander Wetzel <alexander@wetzel-home.de>
Wed, 24 Apr 2019 17:32:46 +0000 (19:32 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Fri, 26 Apr 2019 11:02:11 +0000 (13:02 +0200)
commit387bc002250b31cf8012b736e482c9f65cbf7dd5
treef01554bb4fc22e7b042db87eee6570da3bc01aec
parentcfe7007a9b4cea9c4a0f7d4192c776c62f31869e
mac80211: Set CAN_REPLACE_PTK0 for SW crypto only drivers

Mac80211 SW crypto handles replacing PTK keys correctly.

Don't trigger needless warnings or workarounds when the driver can only
use the known good SW crypto provided by mac80211.

Signed-off-by: Alexander Wetzel <alexander@wetzel-home.de>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/main.c