FST: Silence compiler warning on WPA_ASSERT
This was triggering a sign-compare warning. Signed-off-by: Jouni Malinen <j@w1.fi>
This commit is contained in:
parent
17e20b1e2b
commit
968dce9b13
1 changed files with 1 additions and 1 deletions
|
@ -29,7 +29,7 @@ static void fst_dump_mb_ies(const char *group_id, const char *ifname,
|
|||
const struct multi_band_ie *mbie =
|
||||
(const struct multi_band_ie *) p;
|
||||
WPA_ASSERT(mbie->eid == WLAN_EID_MULTI_BAND);
|
||||
WPA_ASSERT(2 + mbie->len >= sizeof(*mbie));
|
||||
WPA_ASSERT(2U + mbie->len >= sizeof(*mbie));
|
||||
|
||||
fst_printf(MSG_WARNING,
|
||||
"%s: %s: mb_ctrl=%u band_id=%u op_class=%u chan=%u bssid="
|
||||
|
|
Loading…
Reference in a new issue