libtle_l4p: fix both wl1 and wl2 should coexist inside union wui. 33/7233/1
authorKonstantin Ananyev <konstantin.ananyev@intel.com>
Tue, 20 Jun 2017 22:30:47 +0000 (23:30 +0100)
committerKonstantin Ananyev <konstantin.ananyev@intel.com>
Tue, 20 Jun 2017 22:33:30 +0000 (23:33 +0100)
Change-Id: Ied0e976aa26f71dc4ccbf62deae9cd756ee4b82d
Signed-off-by: Konstantin Ananyev <konstantin.ananyev@intel.com>
lib/libtle_l4p/tcp_misc.h

index beb6699..9f19f69 100644 (file)
@@ -193,7 +193,7 @@ struct resp_info {
 /* window update information (RFC 793 WL1, WL2) */
 union wui {
        uint64_t raw;
-       union {
+       struct {
                uint32_t wl1;
                uint32_t wl2;
        };