__le32 status;
 } __packed;
 
-struct hif_ie_flags {
-       u8     beacon:1;
-       u8     probe_resp:1;
-       u8     probe_req:1;
-       u8     reserved1:5;
-       u8     reserved2;
-} __packed;
-
 struct hif_ie_tlv {
        u8     type;
        u8     length;
 } __packed;
 
 struct hif_req_update_ie {
-       struct hif_ie_flags ie_flags;
+       u8     beacon:1;
+       u8     probe_resp:1;
+       u8     probe_req:1;
+       u8     reserved1:5;
+       u8     reserved2;
        __le16 num_ies;
        struct hif_ie_tlv ie[];
 } __packed;
 
 
        if (!hif)
                return -ENOMEM;
-       body->ie_flags.beacon = 1;
+       body->beacon = 1;
        body->num_ies = cpu_to_le16(1);
        memcpy(body->ie, ies, ies_len);
        wfx_fill_header(hif, wvif->id, HIF_REQ_ID_UPDATE_IE, buf_len);