]> git.karo-electronics.de Git - linux-beck.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)
committerEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Sun, 1 Feb 2015 13:38:01 +0000 (15:38 +0200)
commit5523d11cc46393a1e61b7ef4a0b2d4e7ed9521e4
tree0f528f35077c7f1bc291e4b3138c11967ac4c168
parentedbad05131a3d94f997eb6c8040aab40f4fffe48
iwlwifi: mvm: always use mac color zero

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.

CC: <stable@vger.kernel.org> [3.10+]
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/mac80211.c