]> git.baikalelectronics.ru Git - kernel.git/commit
iwlwifi: revamp bss_info_changed
authorJohannes Berg <johannes@sipsolutions.net>
Fri, 12 Jun 2009 20:22:48 +0000 (13:22 -0700)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 15 Jun 2009 19:05:52 +0000 (15:05 -0400)
commit823f0982aefda36fbbd866d4f941dc910bad319e
tree5ff7d6bb71d3f37121c415ff049031dcb44e3e44
parent9cde55e64a2da1a25116829c3ee4d67d59ac180e
iwlwifi: revamp bss_info_changed

My earlier patch,
"mac80211: unify config_interface and bss_info_changed"
introduced a bug in iwlwifi where it will do some things
incorrectly now when reassociating.

Revamp iwl_bss_info_changed to fix that issue and make it
easier to read. Also, while at it, add comments about things
that it should do but currently doesn't.

Finally, also improve the locking in the function.

Signed-off-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