PASN: Mark wpas_pasn_start() comeback argument const
Make it clear that this argument is not modified and freed within PASN processing to be consistent with the only use of it by calling wpas_pasn_build_auth_1() which has already marked it const. Signed-off-by: Jouni Malinen <quic_jouni@quicinc.com>
This commit is contained in:
parent
b1ed44b6a6
commit
325236948a
2 changed files with 2 additions and 2 deletions
|
@ -151,7 +151,7 @@ int wpas_pasn_start(struct wpas_pasn *pasn, const u8 *own_addr,
|
||||||
const u8 *bssid, int akmp, int cipher, u16 group,
|
const u8 *bssid, int akmp, int cipher, u16 group,
|
||||||
int freq, const u8 *beacon_rsne, u8 beacon_rsne_len,
|
int freq, const u8 *beacon_rsne, u8 beacon_rsne_len,
|
||||||
const u8 *beacon_rsnxe, u8 beacon_rsnxe_len,
|
const u8 *beacon_rsnxe, u8 beacon_rsnxe_len,
|
||||||
struct wpabuf *comeback);
|
const struct wpabuf *comeback);
|
||||||
int wpa_pasn_auth_rx(struct wpas_pasn *pasn, const u8 *data, size_t len,
|
int wpa_pasn_auth_rx(struct wpas_pasn *pasn, const u8 *data, size_t len,
|
||||||
struct wpa_pasn_params_data *pasn_params);
|
struct wpa_pasn_params_data *pasn_params);
|
||||||
int wpa_pasn_auth_tx_status(struct wpas_pasn *pasn,
|
int wpa_pasn_auth_tx_status(struct wpas_pasn *pasn,
|
||||||
|
|
|
@ -859,7 +859,7 @@ int wpas_pasn_start(struct wpas_pasn *pasn, const u8 *own_addr,
|
||||||
const u8 *bssid, int akmp, int cipher, u16 group,
|
const u8 *bssid, int akmp, int cipher, u16 group,
|
||||||
int freq, const u8 *beacon_rsne, u8 beacon_rsne_len,
|
int freq, const u8 *beacon_rsne, u8 beacon_rsne_len,
|
||||||
const u8 *beacon_rsnxe, u8 beacon_rsnxe_len,
|
const u8 *beacon_rsnxe, u8 beacon_rsnxe_len,
|
||||||
struct wpabuf *comeback)
|
const struct wpabuf *comeback)
|
||||||
{
|
{
|
||||||
struct wpabuf *frame;
|
struct wpabuf *frame;
|
||||||
int ret;
|
int ret;
|
||||||
|
|
Loading…
Reference in a new issue