From: Larry Finger <Larry.Finger@lwfinger.net>
To: Jeff Chua <jeff.chua.linux@gmail.com>
Cc: lkml <linux-kernel@vger.kernel.org>, wlanfae@realtek.com
Subject: Re: r8712u cannot set essid
Date: Mon, 25 Apr 2011 19:48:05 -0500 [thread overview]
Message-ID: <4DB61645.8010001@lwfinger.net> (raw)
In-Reply-To: <BANLkTi=syavY0Tw-Ny9-QhU=_Ryrbmkhfw@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 653 bytes --]
On 04/25/2011 07:21 PM, Jeff Chua wrote:
> On Tue, Apr 26, 2011 at 3:18 AM, Larry Finger<Larry.Finger@lwfinger.net> wrote:
>> Please send me the commands that you want to use, and I'll try to get r8712u
>> to support them.
>
> Larry,
>
> All I want is for my iPhone to connect to me notebook, and I use this
> command ...
>
> # iwconfig wlan0 mode ad-hoc essid "123"
>
> A little bit of good news is that I got adhoc to work 2 out of 100
> tries (with wpa_supplicant on another sreen, and the above iwconfig
> command). So, it's working "partially". Once it has an SSID, I could
> change it and it'll still work.
Please try the attached patch.
Larry
[-- Attachment #2: r8712u_set_essid --]
[-- Type: text/plain, Size: 583 bytes --]
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)
next prev parent reply other threads:[~2011-04-26 0:48 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-04-25 2:16 r8712u cannot set essid Jeff Chua
2011-04-25 3:23 ` Larry Finger
2011-04-25 4:32 ` Jeff Chua
2011-04-25 11:14 ` Jeff Chua
2011-04-25 12:10 ` Jeff Chua
2011-04-25 19:18 ` Larry Finger
2011-04-26 0:21 ` Jeff Chua
2011-04-26 0:48 ` Larry Finger [this message]
2011-04-26 3:26 ` Jeff Chua
2011-04-26 15:32 ` Larry Finger
2011-04-26 16:24 ` Jeff Chua
2011-04-26 19:30 ` Jeff Chua
2011-04-26 20:12 ` Larry Finger
2011-04-27 15:45 ` Jeff Chua
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4DB61645.8010001@lwfinger.net \
--to=larry.finger@lwfinger.net \
--cc=jeff.chua.linux@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=wlanfae@realtek.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox