From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753240AbbLCTe3 (ORCPT ); Thu, 3 Dec 2015 14:34:29 -0500 Received: from exchange.esteem.com ([64.146.239.67]:33112 "EHLO exchange.esteem.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753158AbbLCTe2 (ORCPT ); Thu, 3 Dec 2015 14:34:28 -0500 From: Neil Hellfeldt Subject: WDS interface always busy, cannot be brought up To: Message-ID: <56609943.7010408@esteem.com> Date: Thu, 3 Dec 2015 11:34:27 -0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.4.0 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8"; format=flowed Content-Transfer-Encoding: 7bit X-Originating-IP: [172.16.1.1] X-ClientProxiedBy: exchange.esteem.com (172.16.1.11) To exchange.esteem.com (172.16.1.11) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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;