]> git.karo-electronics.de Git - karo-tx-linux.git/commit
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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 7 Jun 2014 17:28:11 +0000 (10:28 -0700)
commit53937890848b0e9552be2119ad49823cfb9c5eb9
tree03c9aa1e50a32bb8ed1e5b14c2d57117f39fd722
parent54a2ab1efaf5d35d68143a9c0f652955ad16eb82
iwlwifi: mvm: delay enabling smart FIFO until after beacon RX

commit 0229cdafb6f67064a217591d48b0f6abf14e8385 upstream.

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.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/net/wireless/iwlwifi/mvm/mac80211.c
drivers/net/wireless/iwlwifi/mvm/sf.c