]> git.baikalelectronics.ru Git - kernel.git/commit
iwlwifi: dvm: move ADD_STA response handling to sync command
authorJohannes Berg <johannes.berg@intel.com>
Tue, 23 Jun 2015 18:56:45 +0000 (20:56 +0200)
committerEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Tue, 4 Aug 2015 07:11:40 +0000 (10:11 +0300)
commit0200d04f1d6c970fd6c3b04ece0ba43e60f27b6e
treeb4f2c13d34cecdc21a340f3959ba210a3fa8b17d
parent2fb975c0957d8f9968a8fca591ca091dee45d977
iwlwifi: dvm: move ADD_STA response handling to sync command

This driver currently has some very confusing ADD_STA response handling
that runs asynchronously in the background for all of the commands, but
is only really necessary for synchronous ones (the really asynchronous
ones can only be done for already existing stations), and for the sync
ones it actually waits for the RX handler to return a status code.

Rework this to keep the debug printing in the handler, but do the code
that's supposed to have an effect only for sync commands in the command
sending function.

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