iwl4965: fix "Received BA when not expected"
commit16b345d89686ca0482a9ca741a1167def1abdd7f
authorStanislaw Gruszka <sgruszka@redhat.com>
Fri, 29 Apr 2011 15:51:56 +0000 (29 17:51 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 29 Apr 2011 19:24:15 +0000 (29 15:24 -0400)
tree3e3a9db573cadfa2b7f615e4ebcc525e0e26bf51
parentbfd36103ec26599557c2bd3225a1f1c9267f8fcb
iwl4965: fix "Received BA when not expected"

Need to use broadcast sta_id for management frames, otherwise we broke
BA session in the firmware and get messages like that:

"Received BA when not expected"

or (on older kernels):

"BA scd_flow 0 does not match txq_id 10"

This fix regression introduced in 2.6.35 during station management
code rewrite by:

commit 2a87c26bbe9587baeb9e56d3ce0b4971bd777643
Author: Johannes Berg <johannes.berg@intel.com>
Date:   Fri Apr 30 11:30:45 2010 -0700

    iwlwifi: use iwl_find_station less

Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/iwlegacy/iwl-4965-tx.c