From mboxrd@z Thu Jan 1 00:00:00 1970 From: Kalle Valo Date: Wed, 17 Apr 2013 09:30:10 +0300 Subject: [ath9k-devel] [PATCH 1/2] ath10k: wmi_mgmt_rx setup band In-Reply-To: <1366106083-8135-1-git-send-email-janusz.dziedzic@tieto.com> (Janusz Dziedzic's message of "Tue, 16 Apr 2013 11:54:42 +0200") References: <1366106083-8135-1-git-send-email-janusz.dziedzic@tieto.com> Message-ID: <87vc7lu0st.fsf@kamboji.qca.qualcomm.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: ath9k-devel@lists.ath9k.org Janusz Dziedzic writes: > Setup band using wmi_event and phy_mode > reported by FW/HW. > > Signed-off-by: Janusz Dziedzic Both applied, thanks. But the commit logs don't still answer the question "why?". Especially the change from user space point of view is important (if there are any). > --- a/drivers/net/wireless/ath/ath10k/wmi.c > +++ b/drivers/net/wireless/ath/ath10k/wmi.c > @@ -240,6 +240,35 @@ static int wmi_event_scan(struct ath10k *ar, struct sk_buff *skb) > return 0; > } > > + > +static inline enum ieee80211_band phy_mode_to_band(u32 phy_mode) I also removed the extra new line. -- Kalle Valo