]> git.karo-electronics.de Git - linux-beck.git/commit
iwlwifi: mvm: move AP-specific code to right function
authorJohannes Berg <johannes.berg@intel.com>
Wed, 24 Aug 2016 08:05:40 +0000 (10:05 +0200)
committerLuca Coelho <luciano.coelho@intel.com>
Mon, 19 Sep 2016 08:29:32 +0000 (11:29 +0300)
commit186cd49a4d9ad1a0d4a7371c2d02a05a8ac53a03
treeb6dc634e6e3c488dc19222b6f5ee5655acb63f08
parent8b6607cc6cdecd932201e63597b3b0c0f7958f33
iwlwifi: mvm: move AP-specific code to right function

There's no need for the common MAC context function to have an
if on AP mode, the values can be overridden in the AP-specific
function later. Clean that up by adding the full command as a
new parameter to the AP-specific function, and doing it there.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
drivers/net/wireless/intel/iwlwifi/mvm/mac-ctxt.c