]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
iwlwifi: mvm: always use mac color zero
authorLuciano Coelho <luciano.coelho@intel.com>
Thu, 29 Jan 2015 10:48:20 +0000 (12:48 +0200)
committerJiri Slaby <jslaby@suse.cz>
Sun, 1 Mar 2015 22:34:14 +0000 (23:34 +0100)
commita113cc3fe1778e770eb5c77a34dc03ecd5fe8da6
tree5ffbdb77db8157d5a5db47a888c2c4d74883753c
parent9bb35f06515d463d4f1b384b9fc41c4e17cf69aa
iwlwifi: mvm: always use mac color zero

commit 5523d11cc46393a1e61b7ef4a0b2d4e7ed9521e4 upstream.

We don't really need to use different mac colors when adding mac
contexts, because they're not used anywhere.  In fact, the firmware
doesn't accept 255 as a valid color, so we get into a SYSASSERT 0x3401
when we reach that.

Remove the color increment to use always zero and avoid reaching 255.

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>
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
drivers/net/wireless/iwlwifi/mvm/mac80211.c