]> git.baikalelectronics.ru Git - kernel.git/commit
iwlwifi: mvm: don't wait for session protection to start
authorJohannes Berg <johannes.berg@intel.com>
Tue, 29 Jan 2013 14:28:17 +0000 (15:28 +0100)
committerJohannes Berg <johannes.berg@intel.com>
Tue, 12 Feb 2013 15:52:26 +0000 (16:52 +0100)
commitd3487472f7c362982c85a31b53c518e0390c44b6
tree057aa7c53ddadd956f7af38a59ca7dae20744f24
parentb5fcc4b4d1da8a1b1f961e62e3a8ea7b6a4c09ed
iwlwifi: mvm: don't wait for session protection to start

Now that mac80211 no longer starts the auth/assoc
timeouts when it transmits the frame, but only when
the frame status arrives, we no longer need to wait
for the session protection time event to start, we
can schedule it and enqueue the auth/assoc frame
right away. This reduces the amount of time we block
mac80211's workqueue.

Also, since now we no longer need different behavior
for session protection and P2P time events, refactor
the code to have just a common implementation.

Reviewed-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
drivers/net/wireless/iwlwifi/mvm/time-event.c