Search Linux Wireless

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
--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux