Re: [PATCH 02/17] staging: brcm80211: remove ioctl layer from brcmsmac

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Sep 13, 2011 at 09:49:42AM +0200, Roland Vossen wrote:
> @@ -530,20 +515,22 @@ brcms_ops_bss_info_changed(struct ieee80211_hw *hw,
>  
>  		/* update the rate set */
>  		LOCK(wl);
> -		brcms_c_ioctl(wl->wlc, BRCM_SET_RATESET, &rs, sizeof(rs));
> +		error = brcms_c_set_rateset(wl->wlc, &rs);
>  		UNLOCK(wl);
> +		if (!error)
                    ^^^^^^

This test is reversed so this will fill your log with spam.

> +			wiphy_err(wiphy, "changing basic rates failed: %d\n",
> +				  error);
>  	}

regards,
dan carpenter
_______________________________________________
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxx
http://driverdev.linuxdriverproject.org/mailman/listinfo/devel


[Index of Archives]     [Linux Driver Backports]     [DMA Engine]     [Linux GPIO]     [Linux SPI]     [Video for Linux]     [Linux USB Devel]     [Linux Coverity]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux