commit | 6d10e46be5ac1d0ae787babd3dafd52b30686db5 | [log] [tgz] |
---|---|---|
author | Johannes Berg <johannes.berg@intel.com> | Wed Mar 06 23:09:11 2013 +0100 |
committer | Johannes Berg <johannes.berg@intel.com> | Mon Mar 11 15:16:42 2013 +0200 |
tree | 5377578eb94c2329d944ebf6ec657e8df5006e02 | |
parent | 3b8d9c290364c86fc9f4baff7c82264a96f706d6 [diff] |
mac80211: batch key free synchronize_net() Instead of calling synchronize_net() for every key on an interface or when a station is removed, do it only once for all keys in both of these cases. As a side-effect, removing station keys now always calls synchronize_net() even if there are no keys, which fixes an issue with station removal happening in the driver while the station could still be used for TX. Signed-off-by: Johannes Berg <johannes.berg@intel.com>