Return-path: Received: from smtp.nokia.com ([192.100.122.233]:27445 "EHLO mgw-mx06.nokia.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755937Ab0FNJ4o (ORCPT ); Mon, 14 Jun 2010 05:56:44 -0400 From: Teemu Paasikivi To: linville@tuxdriver.com Cc: linux-wireless@vger.kernel.org, Teemu Paasikivi , Johannes Berg Subject: [PATCH v2 2/3] mac80211: Set changed basic rates flag Date: Mon, 14 Jun 2010 12:55:32 +0300 Message-Id: <1276509333-19023-3-git-send-email-ext-teemu.3.paasikivi@nokia.com> In-Reply-To: <1276509333-19023-2-git-send-email-ext-teemu.3.paasikivi@nokia.com> References: <1276509333-19023-1-git-send-email-ext-teemu.3.paasikivi@nokia.com> <1276509333-19023-2-git-send-email-ext-teemu.3.paasikivi@nokia.com> Sender: linux-wireless-owner@vger.kernel.org List-ID: Add changed basic rates flag to bss_changed while joinig ibss network. This patch is split from the patch containing support for setting basic rates when creating ibss network. Original patch was posted by Johannes Berg on the linux-wireless posting list. Signed-off-by: Johannes Berg Signed-off-by: Teemu Paasikivi --- net/mac80211/ibss.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/net/mac80211/ibss.c b/net/mac80211/ibss.c index 8be5a96..ff91265 100644 --- a/net/mac80211/ibss.c +++ b/net/mac80211/ibss.c @@ -178,6 +178,7 @@ static void __ieee80211_sta_join_ibss(struct ieee80211_sub_if_data *sdata, bss_change |= BSS_CHANGED_BSSID; bss_change |= BSS_CHANGED_BEACON; bss_change |= BSS_CHANGED_BEACON_ENABLED; + bss_change |= BSS_CHANGED_BASIC_RATES; bss_change |= BSS_CHANGED_IBSS; sdata->vif.bss_conf.ibss_joined = true; ieee80211_bss_info_change_notify(sdata, bss_change); -- 1.5.6.3