iwlwifi: pcie: fix command completion name debug
authorJohannes Berg <johannes.berg@intel.com>
Wed, 3 May 2017 10:16:48 +0000 (12:16 +0200)
committerLuca Coelho <luciano.coelho@intel.com>
Fri, 23 Jun 2017 08:58:32 +0000 (11:58 +0300)
commitd490e09784a9d0a63f831e5f1104b4826e666b0c
tree6c120b34680a8d6a4ce267d6e78e32a4b97e4876
parent8790fce4f696ed55195283d26685cc0edaea63a8
iwlwifi: pcie: fix command completion name debug

When the command name is printed on command completion, the wrong
group is used, leading to the wrong name being printed. Fix this
by using the group ID without inappropriately mangling it through
iwl_cmd_groupid() - it's already a u8. Also, while at it, use it
from the same place as the command ID, everything else is just
confusing.

Fixes: ab02165ccec4 ("iwlwifi: add wide firmware command infrastructure for TX")
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
drivers/net/wireless/intel/iwlwifi/pcie/tx.c