From: Johannes Berg Date: Tue, 26 Feb 2013 12:54:32 +0000 (+0100) Subject: fix TCP wowlan bug X-Git-Tag: v3.10~16 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=509a5e5a82073122a5cfd37f106a80f37c31cce7;p=thirdparty%2Fiw.git fix TCP wowlan bug --- diff --git a/wowlan.c b/wowlan.c index 4be43d9..b4a2715 100644 --- a/wowlan.c +++ b/wowlan.c @@ -94,7 +94,7 @@ static int wowlan_parse_tcp_file(struct nl_msg *msg, const char *fn) free(pkt); } else if (strncmp(buf, "data.interval=", 14) == 0) { NLA_PUT_U32(msg, NL80211_WOWLAN_TCP_DATA_INTERVAL, - atoi(buf)); + atoi(buf + 14)); } else if (strncmp(buf, "wake=", 5) == 0) { unsigned char *pat, *mask; size_t patlen;