iwlwifi: correction of group-id once sending REPLY_ERROR
authorMukesh Sisodiya <mukesh.sisodiya@intel.com>
Wed, 10 Feb 2021 12:29:25 +0000 (14:29 +0200)
committerLuca Coelho <luciano.coelho@intel.com>
Wed, 10 Feb 2021 12:39:42 +0000 (14:39 +0200)
commit781b9ae4bc0b594fa0600244dbba04e949eae38e
treecaef825c7d0ec178d24bcd3cae87963424726f96
parent1205d7f7ffb18dd96347d8a2a35dba859510e2d7
iwlwifi: correction of group-id once sending REPLY_ERROR

Once sending the REPLY_ERROR group ID is not set and this lead to
get it set to wrong value LONG_GROUP later in default handling

Fix this by checking the REPLY_ERROR and avoid changing the Group ID

Signed-off-by: Mukesh Sisodiya <mukesh.sisodiya@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Link: https://lore.kernel.org/r/iwlwifi.20210210142629.82578caaea84.I0ca9cfdd4e656d2e88ee7696dd6baf4267e7cb52@changeid
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
drivers/net/wireless/intel/iwlwifi/iwl-trans.c