]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commit
iwlwifi: build some station commands directly
authorJohannes Berg <johannes.berg@intel.com>
Mon, 5 Mar 2012 19:24:23 +0000 (11:24 -0800)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 6 Mar 2012 20:16:08 +0000 (15:16 -0500)
commit9451ca1a31be44f8235c3f8f998ff27fc7a8395e
treeb4f0559e43ceaddaf648d38d7c730797676ff02c
parent40e4e6868c532b439754154d69a2837dbf9bd91e
iwlwifi: build some station commands directly

In the powersave related functions we only need
to set a few parameters for the station command
and can otherwise leave it blank -- there's no
need to copy it from the database.

This allows us to not use the sta lock here.

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-sta.c
drivers/net/wireless/iwlwifi/iwl-mac80211.c