staging: rtl8723bs: hide "nolinked power save" info when not debugging
authorIcenowy Zheng <icenowy@aosc.io>
Fri, 13 Oct 2017 11:50:25 +0000 (19:50 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 18 Oct 2017 14:10:36 +0000 (16:10 +0200)
commit7aebff11afe4f0352af12c762d4db38319da005c
tree718c45b033ed70c86e33509acfcc536e6a13a094
parent76ec4e8ed4040ce2d471211ac463bd73a3b92aa2
staging: rtl8723bs: hide "nolinked power save" info when not debugging

Currently the rtl8723bs driver will print "nolinked power save enter"
and "nolinked power save leave" per minute if it's not connected to any
network.

These messages are meaningless and annoying to regular users.

Hide them when it's not debugging.

Signed-off-by: Icenowy Zheng <icenowy@aosc.io>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8723bs/core/rtw_pwrctrl.c