iwlwifi: mvm: delay enabling smart FIFO until after beacon RX
authorJohannes Berg <johannes.berg@intel.com>
Wed, 19 Mar 2014 17:36:39 +0000 (18:36 +0100)
committerEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Sun, 13 Apr 2014 05:26:51 +0000 (08:26 +0300)
commit0229cdafb6f67064a217591d48b0f6abf14e8385
treef9d3968ed61c7430b2af7d6bbf30a53f0e992c42
parent67b3bd4e65f0854aca70e0134d59b1daede49504
iwlwifi: mvm: delay enabling smart FIFO until after beacon RX

If we have no beacon data before association, delay smart FIFO
enablement until after we have this data.

Not doing so can cause association failures in extremely silent
environments (usually only a shielded box/room) as beacon RX is
not sent to the host immediately, and then the association time
event ends without the host receiving any beacon even though it
was on the air - it's just stuck on the FIFO.

Cc: <stable@vger.kernel.org> [3.14]
Fixes: 1f3b0ff8ecce ("iwlwifi: mvm: Add Smart FIFO support")
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
drivers/net/wireless/iwlwifi/mvm/mac80211.c
drivers/net/wireless/iwlwifi/mvm/sf.c