]> git.baikalelectronics.ru Git - kernel.git/commit
iwlagn: clean up alive handling
authorJohannes Berg <johannes.berg@intel.com>
Tue, 5 Apr 2011 16:42:04 +0000 (09:42 -0700)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 7 Apr 2011 19:51:38 +0000 (15:51 -0400)
commit17f6ecbfb85978547b7b0b77bff452101955e019
treef65b3ee1b9d1c49088ccabc18638fc99b5e053d1
parent0da78ed4e4c573d85d496d82f5a49a7e7fdb6a27
iwlagn: clean up alive handling

Devices newer than 4965 don't actually send
two different versions of the ALIVE command,
so we always had a bug here since before this
patch we copy more data than we got. Remove
the iwl_init_alive_resp struct and don't use
it.

Since we also really don't need to track all
the data received in ALIVE as we only use the
error and log event tables later, we can also
save space by just keeping those and not more
data around in memory.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/iwlwifi/iwl-agn.c
drivers/net/wireless/iwlwifi/iwl-commands.h
drivers/net/wireless/iwlwifi/iwl-dev.h
drivers/net/wireless/iwlwifi/iwl-rx.c