]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
iwlagn: fix non-5000+ build
authorJohannes Berg <johannes.berg@intel.com>
Wed, 10 Nov 2010 17:56:38 +0000 (09:56 -0800)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 15 Nov 2010 18:26:43 +0000 (13:26 -0500)
commitae79d23d0b2c16998e60f49a16dae53521c76a45
tree09af0e450cb44daa707c7ba77735453a9ac96baa
parent2a21ff446c07b95d08cbb830bd20112f3ee1d76e
iwlagn: fix non-5000+ build

When building 4965 without 5000+ there were a
lot of build errors due to functions being used
that weren't even compiled in. To fix this move
some code around and only compile the HCMD code
for 5000+ series as it's not used for 4965.

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/Makefile
drivers/net/wireless/iwlwifi/iwl-agn-lib.c
drivers/net/wireless/iwlwifi/iwl-agn-rxon.c
drivers/net/wireless/iwlwifi/iwl-agn-sta.c
drivers/net/wireless/iwlwifi/iwl-agn.c
drivers/net/wireless/iwlwifi/iwl-agn.h