public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* WDS interface always busy, cannot be brought up
@ 2015-12-03 19:34 Neil Hellfeldt
  0 siblings, 0 replies; only message in thread
From: Neil Hellfeldt @ 2015-12-03 19:34 UTC (permalink / raw)
  To: linux-kernel

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;

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2015-12-03 19:34 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-12-03 19:34 WDS interface always busy, cannot be brought up Neil Hellfeldt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox