From: Johannes Berg Date: Thu, 29 Jul 2010 14:07:51 +0000 (-0700) Subject: iwlwifi: refactor iwl_setup_rxon_timing X-Git-Tag: v2.6.37-rc1~147^2~679^2~20 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=948f5a2f08cb782adf3c5bb92abc6dbec2b4275f;p=pandora-kernel.git iwlwifi: refactor iwl_setup_rxon_timing All callers of iwl_setup_rxon_timing() also send the command right away, so rename the function to iwl_send_rxon_timing() and move the sending into it. Also, some callers clear the data, this can be done always and thus moved in as well. Finally, there's no reason for the function to acquire the spinlock, but it should be called with the mutex held, so assert that. Signed-off-by: Johannes Berg Signed-off-by: Wey-Yi Guy --- Reading git-diff-tree failed