Fix whitespace style

Commit 88b32a99d3 added couple of lines
with incorrect indentation.

Signed-hostap: Jouni Malinen <j@w1.fi>
This commit is contained in:
Jouni Malinen 2013-12-29 10:23:45 +02:00
parent e4357b190f
commit 006309b546
2 changed files with 4 additions and 4 deletions

View file

@ -203,7 +203,7 @@ struct wpa_auth_callbacks {
int (*send_ft_action)(void *ctx, const u8 *dst, int (*send_ft_action)(void *ctx, const u8 *dst,
const u8 *data, size_t data_len); const u8 *data, size_t data_len);
int (*add_tspec)(void *ctx, const u8 *sta_addr, u8 *tspec_ie, int (*add_tspec)(void *ctx, const u8 *sta_addr, u8 *tspec_ie,
size_t tspec_ielen); size_t tspec_ielen);
#endif /* CONFIG_IEEE80211R */ #endif /* CONFIG_IEEE80211R */
}; };

View file

@ -57,7 +57,7 @@ static int wpa_ft_add_tspec(struct wpa_authenticator *wpa_auth,
u8 *tspec_ie, size_t tspec_ielen) u8 *tspec_ie, size_t tspec_ielen)
{ {
if (wpa_auth->cb.add_tspec == NULL) { 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 -1;
} }
return wpa_auth->cb.add_tspec(wpa_auth->cb.ctx, sta_addr, tspec_ie, 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 { else {
/* TSPEC accepted; include updated TSPEC in /* TSPEC accepted; include updated TSPEC in
* response */ * response */
rdie->descr_count = 1; rdie->descr_count = 1;
pos += sizeof(*tspec); pos += sizeof(*tspec);
} }
return pos; return pos;
} }