On Wed, May 21, 2014 at 09:37:35AM +0200, Jes.Sorensen@xxxxxxxxxx wrote: > diff --git a/drivers/staging/rtl8723au/core/rtw_ioctl_set.c b/drivers/staging/rtl8723au/core/rtw_ioctl_set.c > index 347ea99..19e2e68 100644 > --- a/drivers/staging/rtl8723au/core/rtw_ioctl_set.c > +++ b/drivers/staging/rtl8723au/core/rtw_ioctl_set.c > @@ -396,7 +396,8 @@ int rtw_set_802_11_add_wep23a(struct rtw_adapter* padapter, > RT_TRACE(_module_rtl871x_ioctl_set_c_, _drv_info_, > ("MgntActrtw_set_802_11_add_wep23a:wep->KeyLength!= 5 " > "or 13\n")); > - break; > + res = _FAIL; > + goto exit; This is an undocumented bug fix. It should be in a separate patch next time. Just return _FAIL; anyway. regards, dan carpenter _______________________________________________ devel mailing list devel@xxxxxxxxxxxxxxxxxxxxxx http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel