iwlagn: refactor restart
authorJohannes Berg <johannes.berg@intel.com>
Tue, 19 Apr 2011 14:45:16 +0000 (07:45 -0700)
committerWey-Yi Guy <wey-yi.w.guy@intel.com>
Sat, 30 Apr 2011 15:39:30 +0000 (08:39 -0700)
commite43e85c40d83f0a7a6ff5631d1009d142b72dbca
treeb3656925b866c62b3e247fa5d7e3de4da12dd984
parent4119904f3ebf30c25afb42195740f9ee5dc7749c
iwlagn: refactor restart

The WoWLAN resume code will have to essentially
do a restart, but without going through the work
struct. To support that, refactor the restart by
splitting out the preparation code into a new
function.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@intel.com>
drivers/net/wireless/iwlwifi/iwl-agn.c