]> git.baikalelectronics.ru Git - kernel.git/commit
mac80211: remove duplicate check for quiescing when queueing work
authorLuciano Coelho <luciano.coelho@intel.com>
Sun, 1 Mar 2015 07:10:10 +0000 (09:10 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Wed, 4 Mar 2015 09:34:10 +0000 (10:34 +0100)
commit72b903e17edd3762f820970c4c889f8171d5487c
tree271de8ba69d48dac0d51229bf5c0b0bfbd3c3b4c
parent431011b993627cca5b662ff9997260aaa7db0b12
mac80211: remove duplicate check for quiescing when queueing work

In ieee80211_queue_work() we check if we're quiescing or suspended, so
it's not necessary to check for quiescing before calling this
function.  Remove duplicate checks.

Signed-off-by: Luciano Coelho <luciano.coelho@intel.com>
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/mlme.c