]> git.karo-electronics.de Git - linux-beck.git/commit
ath6kl: Isolate host sleep mode config part from ath6kl_wow_suspend
authorRaja Mani <rmani@qca.qualcomm.com>
Wed, 21 Mar 2012 09:33:37 +0000 (15:03 +0530)
committerKalle Valo <kvalo@qca.qualcomm.com>
Mon, 26 Mar 2012 13:07:19 +0000 (16:07 +0300)
commit055bde493fc9a41b6b3e45381b454c18e2045d5b
treebaf22da30b47bb0b1e2de927ab7e26caa147199e
parent5c980fbb4e7ac2d01e95c3372e95ac40dacd33cd
ath6kl: Isolate host sleep mode config part from ath6kl_wow_suspend

The piece of code used in ath6kk_wow_suspend function
to configure the host sleep mode is needed in deep sleep
case also.

Moving that portion to a separate function called
ath6kl_update_host_mode() would be helpful to avoid
the duplication of the same code in deep sleep path.

There is no functional change.

kvalo: move inline functions to cfg80211.c and fix a long line

Signed-off-by: Raja Mani <rmani@qca.qualcomm.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
drivers/net/wireless/ath/ath6kl/cfg80211.c