Return-path: Received: from smtp.codeaurora.org ([198.145.29.96]:48456 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727052AbeIQTjE (ORCPT ); Mon, 17 Sep 2018 15:39:04 -0400 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Subject: Re: [PATCH 4.19] mt76x0: fix remove_interface From: Kalle Valo In-Reply-To: <1535970381-5526-1-git-send-email-sgruszka@redhat.com> References: <1535970381-5526-1-git-send-email-sgruszka@redhat.com> To: Stanislaw Gruszka Cc: linux-wireless@vger.kernel.org, Stanislaw Gruszka Message-Id: <20180917141133.C415060C4B@smtp.codeaurora.org> (sfid-20180917_161137_018176_C6C7BE71) Date: Mon, 17 Sep 2018 14:11:33 +0000 (UTC) Sender: linux-wireless-owner@vger.kernel.org List-ID: Stanislaw Gruszka wrote: > We wrongly use wcid_mask instead of vif_mask. This creates problems > when the interface is removed more than 8 times, for example with iw: > > iw dev interface add type > iw dev del > > This caused 'ifconfig up' to fail with error: > > SIOCSIFFLAGS: No space left on device > > Fixes: 95e444098a7b ("mt76x0: main file") > Reported-and-tested-by: Sid Hayn > Signed-off-by: Stanislaw Gruszka Patch applied to wireless-drivers.git, thanks. 3341ba9f0f26 mt76x0: fix remove_interface -- https://patchwork.kernel.org/patch/10585737/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches