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
[email protected]
http://driverdev.linuxdriverproject.org/mailman/listinfo/devel