iwlwifi: mvm: combine p2p and station mac context functions
authorLuciano Coelho <luciano.coelho@intel.com>
Tue, 13 May 2014 13:52:54 +0000 (16:52 +0300)
committerEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Thu, 15 May 2014 16:50:27 +0000 (19:50 +0300)
commitcf52023ccdcef90779085d49acc92d76cf4d3f47
tree8b1cdf7d4fc46b0f7f34e6775b1a30b1b7b3e002
parent4d66449a273e44b9bb1a5fc1cd5937c1905ebebe
iwlwifi: mvm: combine p2p and station mac context functions

Instead of having two nearly identical functions to send the mac
context commands, use a single way that can handle both the p2p and
!p2p cases.

Signed-off-by: Luciano Coelho <luciano.coelho@intel.com>
Reviewed-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
drivers/net/wireless/iwlwifi/mvm/mac-ctxt.c