net/wapi: remove unnecessary cast

This commit is contained in:
chao.an 2020-02-19 20:50:02 +08:00 • committed by Ouss4
parent ae36b6f8a9
commit ee615f0568
4 changed files with 10 additions and 14 deletions

View file

@ -255,8 +255,8 @@ struct wpa_wconfig_s
uint8_t ssidlen; /* Length of the SSID */
uint8_t phraselen; /* Length of the passphrase */
FAR const char *ifname; /* E.g., "wlan0" */
FAR const uint8_t *ssid; /* E.g., "myApSSID" */
FAR const uint8_t *passphrase; /* E.g., "mySSIDpassphrase" */
FAR const char *ssid; /* E.g., "myApSSID" */
FAR const char *passphrase; /* E.g., "mySSIDpassphrase" */
};
/****************************************************************************
@ -678,7 +678,7 @@ int wapi_scan_coll(int sock, FAR const char *ifname,
****************************************************************************/
int wpa_driver_wext_set_key_ext(int sockfd, FAR const char *ifname,
enum wpa_alg_e alg, FAR const uint8_t *key,
enum wpa_alg_e alg, FAR const char *key,
size_t key_len);
/****************************************************************************