libertas: Prepare stuff for if_spi.c pm support
authorVasily Khoruzhick <anarsoul@gmail.com>
Fri, 21 Jan 2011 20:44:49 +0000 (22:44 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 3 Feb 2011 21:38:26 +0000 (16:38 -0500)
commit75abde4d193fe300a2c1d3ee7f632eb777aa48b2
treed6c8b835de0e28d43094d7c15c3c625436c6b628
parent16f775befc1ccf67e6b223c4d9bb17ac3502ab2c
libertas: Prepare stuff for if_spi.c pm support

To support suspend/resume in if_spi we need two things:
- re-setup fw in lbs_resume(), because if_spi powercycles card;
- don't touch hwaddr on second lbs_update_hw_spec() call for same
  reason;

Signed-off-by: Vasily Khoruzhick <anarsoul@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/libertas/cmd.c
drivers/net/wireless/libertas/dev.h
drivers/net/wireless/libertas/main.c