iwlwifi: disable tx on beacon update notification
authorAbhijeet Kolekar <abhijeet.kolekar@intel.com>
Fri, 8 Jan 2010 18:04:31 +0000 (10:04 -0800)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 8 Jan 2010 20:49:31 +0000 (15:49 -0500)
commitc91c3efca5297bd67324654524ced38162f2e579
tree23897fcef28bdc2794b0a973b1134eecff41973f
parentc8106d7625a58ee4387cb2efe3e82320ad44b467
iwlwifi: disable tx on beacon update notification

On beacon change update notification from mac we are not disabling
the tx in adhoc mode. Mac sends BSS_CHANGED_BEACON_ENABLED when
station leaves IBSS. Driver should indicate uCode to not to send
anything on receiving this notification.

Functionality to indicate uCode is duplicated across
two notifications so created a common function called iwl_set_no_assoc.

Fix the issue at
http://bugzilla.intellinuxwireless.org/show_bug.cgi?id=2133.

Signed-off-by: Abhijeet Kolekar <abhijeet.kolekar@intel.com>
Tested-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: Reinette Chatre <reinette.chatre@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/iwlwifi/iwl-core.c