projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5ca61df
)
staging: vt6655: power.c: Remove setting ATIM Window in PSvEnablePowerSaving()
author
Lourdes Pedrajas
<lu@pplo.net>
Tue, 10 Mar 2020 14:09:07 +0000
(15:09 +0100)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Wed, 11 Mar 2020 07:08:49 +0000
(08:08 +0100)
Every time priv->op_mode is not NL80211_IFTYPE_ADHOC it sets ATIM Window, but
this feature it is marked TODO in 2014 and did go untouched since 2015.
Signed-off-by: Lourdes Pedrajas <lu@pplo.net>
Reviewed-by: Stefano Brivio <sbrivio@redhat.com>
Link:
https://lore.kernel.org/r/d9b8e434e09cb8885026a71441bf3a6919dba3da.1583848946.git.lu@pplo.net
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/vt6655/power.c
patch
|
blob
|
history
diff --git
a/drivers/staging/vt6655/power.c
b/drivers/staging/vt6655/power.c
index bfd598a93b04cc80611a7d21378c6cad5e28d8aa..a68ec527679a76dab05ca44ca06da1dd02e95b46 100644
(file)
--- a/
drivers/staging/vt6655/power.c
+++ b/
drivers/staging/vt6655/power.c
@@
-58,11
+58,6
@@
void PSvEnablePowerSaving(struct vnt_private *priv,
if (priv->op_mode != NL80211_IFTYPE_ADHOC) {
/* set AID */
VNSvOutPortW(priv->PortOffset + MAC_REG_AIDATIM, wAID);
- } else {
- /* set ATIM Window */
-#if 0 /* TODO atim window */
- MACvWriteATIMW(priv->PortOffset, pMgmt->wCurrATIMWindow);
-#endif
}
/* Set AutoSleep */
MACvRegBitsOn(priv->PortOffset, MAC_REG_PSCFG, PSCFG_AUTOSLEEP);