Messages in this thread | | | Date | Thu, 28 Apr 2011 22:54:49 +0200 | From | clemens fischer <> | Subject | Re: [PATCH] staging: r8712u: Fix driver to support ad-hoc mode |
| |
> Larry Finger:
> On 04/28/2011 10:08 AM, clemens fischer wrote: > > >[1] https://bugzilla.kernel.org/show_bug.cgi?id=33352 > > Does this one help? It should be in addition to the previous patch.
So far it doesn't, but I'm having trouble with (wpa_supplicant && adhoc-mode). With "iwconfig", it doesn't help.
> Index: linux-2.6/drivers/staging/rtl8712/rtl871x_ioctl_linux.c > =================================================================== > --- linux-2.6.orig/drivers/staging/rtl8712/rtl871x_ioctl_linux.c > +++ linux-2.6/drivers/staging/rtl8712/rtl871x_ioctl_linux.c > @@ -990,8 +990,6 @@ static int r8711_wx_set_wap(struct net_d > struct wlan_network *pnetwork = NULL; > enum NDIS_802_11_AUTHENTICATION_MODE authmode; > > - if (padapter->bup == false) > - return -1; > if (check_fwstate(pmlmepriv, _FW_UNDER_SURVEY) == true) > return -1; > if (check_fwstate(pmlmepriv, _FW_UNDER_LINKING) == true) > @@ -1182,8 +1180,6 @@ static int r8711_wx_set_essid(struct net > struct list_head *phead; > u32 len; > > - if (padapter->bup == false) > - return -1; > if (check_fwstate(pmlmepriv, _FW_UNDER_SURVEY)) > return -1; > if (check_fwstate(pmlmepriv, _FW_UNDER_LINKING))
regards, clemens
| |