iwlwifi: mvm: fix MCAST in AP mode
authorEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Sun, 2 Jun 2013 16:54:01 +0000 (19:54 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 29 Aug 2013 16:47:30 +0000 (09:47 -0700)
commit21e0f1b26a6ef640c02f09c4390057ee726de389
treecbca394ddd3bae691c7314479cf951aa1bc3b39a
parent446b977ec00db5f4bfb4187bca300dd38bfe7e7d
iwlwifi: mvm: fix MCAST in AP mode

commit 9116a3683902583a302ac5dcb283416d504d9bb4 upstream.

In multicast, there is no retries nor RTS since there is no
specific recipient that can ACK or send CTS. This means
that we must not use the rate scale table for multicast
frames.
This true for any frame that doesn't have a valid
ieee80211_sta pointer.

Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/net/wireless/iwlwifi/mvm/tx.c