]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
Fix whitespace style
authorJouni Malinen <j@w1.fi>
Sun, 29 Dec 2013 08:23:45 +0000 (10:23 +0200)
committerJouni Malinen <j@w1.fi>
Sun, 29 Dec 2013 09:25:59 +0000 (11:25 +0200)
Commit 88b32a99d30894b2d6bb391371c442fc117edbab added couple of lines
with incorrect indentation.

Signed-hostap: Jouni Malinen <j@w1.fi>

src/ap/wpa_auth.h
src/ap/wpa_auth_ft.c

index 4892e8b9a33a8418c967179f46f67392ba620b43..da45ae40ee431616411e994bba55991121c19e29 100644 (file)
@@ -203,7 +203,7 @@ struct wpa_auth_callbacks {
        int (*send_ft_action)(void *ctx, const u8 *dst,
                              const u8 *data, size_t data_len);
        int (*add_tspec)(void *ctx, const u8 *sta_addr, u8 *tspec_ie,
-                         size_t tspec_ielen);
+                        size_t tspec_ielen);
 #endif /* CONFIG_IEEE80211R */
 };
 
index b9e8b3d17e500a122539a54712a52a4a19fde300..c22c4ccae3e6604d5de9f048417ae4ba26ac807c 100644 (file)
@@ -57,7 +57,7 @@ static int wpa_ft_add_tspec(struct wpa_authenticator *wpa_auth,
                            u8 *tspec_ie, size_t tspec_ielen)
 {
        if (wpa_auth->cb.add_tspec == NULL) {
-               wpa_printf(MSG_DEBUG, "FT: add_tspec is not initialized");
+               wpa_printf(MSG_DEBUG, "FT: add_tspec is not initialized");
                return -1;
        }
        return wpa_auth->cb.add_tspec(wpa_auth->cb.ctx, sta_addr, tspec_ie,
@@ -570,8 +570,8 @@ static u8 * wpa_ft_process_rdie(struct wpa_state_machine *sm,
                        else {
                                /* TSPEC accepted; include updated TSPEC in
                                 * response */
-                               rdie->descr_count = 1;
-                               pos += sizeof(*tspec);
+                               rdie->descr_count = 1;
+                               pos += sizeof(*tspec);
                        }
                        return pos;
                }