Searched refs:ratesp (Results 1 - 1 of 1) sorted by relevance

/osnet-11/usr/src/lib/libdladm/common/
H A Dlibdlwlan.c703 wl_rates_t *ratesp = NULL; local
781 ratesp = malloc(WLDP_BUFSIZE);
782 if (ratesp == NULL) {
787 if ((status = do_get_rate(handle, linkid, ratesp, WLDP_BUFSIZE))
791 if (ratesp->wl_rates_num > 0) {
794 for (i = 0; i < ratesp->wl_rates_num; i++) {
795 if (ratesp->wl_rates_rates[i] > r)
796 r = ratesp->wl_rates_rates[i];
854 free(ratesp);

Completed in 37 milliseconds