]> git.proxmox.com Git - mirror_ubuntu-disco-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)
commitd7d5783c6668b54111cc77005755799e94261497
treef65b3ee1b9d1c49088ccabc18638fc99b5e053d1
parent3d09cdff233b5a37ce9993c533e8da1403e2da30
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