Lines Matching refs:sta_ptr
3210 void *sta_ptr; in prism2_ioctl_siwencodeext() local
3226 sta_ptr = NULL; in prism2_ioctl_siwencodeext()
3231 sta_ptr = ap_crypt_get_ptrs(local->ap, addr, 0, &crypt); in prism2_ioctl_siwencodeext()
3232 if (sta_ptr == NULL) { in prism2_ioctl_siwencodeext()
3285 if (sta_ptr || ext->alg != IW_ENCODE_ALG_WEP) { in prism2_ioctl_siwencodeext()
3334 if (!sta_ptr) in prism2_ioctl_siwencodeext()
3339 if (sta_ptr == NULL && ext->key_len > 0) { in prism2_ioctl_siwencodeext()
3352 if (sta_ptr) in prism2_ioctl_siwencodeext()
3353 hostap_handle_sta_release(sta_ptr); in prism2_ioctl_siwencodeext()
3381 void *sta_ptr; in prism2_ioctl_giwencodeext() local
3398 sta_ptr = NULL; in prism2_ioctl_giwencodeext()
3402 sta_ptr = ap_crypt_get_ptrs(local->ap, addr, 0, &crypt); in prism2_ioctl_giwencodeext()
3403 if (sta_ptr == NULL) in prism2_ioctl_giwencodeext()
3436 if (sta_ptr) in prism2_ioctl_giwencodeext()
3437 hostap_handle_sta_release(sta_ptr); in prism2_ioctl_giwencodeext()
3450 void *sta_ptr; in prism2_ioctl_set_encryption() local
3463 sta_ptr = NULL; in prism2_ioctl_set_encryption()
3468 sta_ptr = ap_crypt_get_ptrs( in prism2_ioctl_set_encryption()
3473 if (sta_ptr == NULL) { in prism2_ioctl_set_encryption()
3545 if (!sta_ptr) in prism2_ioctl_set_encryption()
3558 if (sta_ptr) in prism2_ioctl_set_encryption()
3559 hostap_handle_sta_release(sta_ptr); in prism2_ioctl_set_encryption()
3583 void *sta_ptr; in prism2_ioctl_get_encryption() local
3594 sta_ptr = NULL; in prism2_ioctl_get_encryption()
3600 sta_ptr = ap_crypt_get_ptrs(local->ap, param->sta_addr, 0, in prism2_ioctl_get_encryption()
3603 if (sta_ptr == NULL) { in prism2_ioctl_get_encryption()
3628 if (sta_ptr) in prism2_ioctl_get_encryption()
3629 hostap_handle_sta_release(sta_ptr); in prism2_ioctl_get_encryption()