diff options
author | Pavel Roskin <proski@gnu.org> | 2007-06-20 23:55:59 -0400 |
---|---|---|
committer | Guido Guenther <agx@sigxcpu.org> | 2007-06-26 09:53:12 -0400 |
commit | 344846539037f1c05a3bcefd0f6274c77252a3f1 (patch) | |
tree | 37edb98b1c129a0f33819ee39282ad201224ce61 | |
parent | ae2c462345d79fe6bafecbb7fcade15ef296af7e (diff) |
[PATCH] Fix recent breakage in at76_set_listen_interval()
An offset was substituted from a wrong macro.
Signed-off-by: Pavel Roskin <proski@gnu.org>
-rw-r--r-- | at76_usb.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -901,7 +901,7 @@ static int at76_set_listen_interval(struct at76_priv *priv, u16 interval) memset(&priv->mib_buf, 0, sizeof(struct set_mib_buffer)); priv->mib_buf.type = MIB_MAC; priv->mib_buf.size = 2; - priv->mib_buf.index = offsetof(struct mib_mac_mgmt, station_id); + priv->mib_buf.index = offsetof(struct mib_mac, listen_interval); *(__le16 *)priv->mib_buf.data = cpu_to_le16(interval); |