All of lore.kernel.org
 help / color / mirror / Atom feed
From: Neil Hellfeldt <hellfeldt@esteem.com>
To: <linux-kernel@vger.kernel.org>
Subject: WDS interface always busy, cannot be brought up
Date: Thu, 3 Dec 2015 11:34:27 -0800	[thread overview]
Message-ID: <56609943.7010408@esteem.com> (raw)

commit 65a124dd719d6e90591e4756bb04e1719489705e prevents WDS interface 
type from bring brought up.

Simple Test:
before this you must have a AP interface, I used hostapd to create it so 
I don't have a single liner to show that.

iw dev wlan0 interface add wlan0wds0 type wds
ip link set dev wlan0wds0 address 00:11:22:33:44:55
iw dev wlan0wds0 set peer 00:66:77:88:99:AA
ifconfig wlan0wds0 up

Konsole output ifconfig: SIOCSIFFLAGS: Device or resource busy

The commit: says it checks for channel availability.

WDS do not use there own channels. They use the channel of the ap 
interface that already exists,
because of this cfg80211_check_combinations will always return -EBUSY.

That do to this test statement
     if (num == 0)
         return -EBUSY;

                 reply	other threads:[~2015-12-03 19:34 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=56609943.7010408@esteem.com \
    --to=hellfeldt@esteem.com \
    --cc=linux-kernel@vger.kernel.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.