linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] ath6kl: Set HT caps when an interface is added
@ 2012-10-16 15:52 Mohammed Shafi Shajakhan
  2012-10-21  9:58 ` Kalle Valo
  0 siblings, 1 reply; 5+ messages in thread
From: Mohammed Shafi Shajakhan @ 2012-10-16 15:52 UTC (permalink / raw)
  To: ath6kl-devel; +Cc: Kalle Valo, linux-wireless, Mohammed Shafi Shajakhan

From: Mohammed Shafi Shajakhan <mohammed@qca.qualcomm.com>

Set HT capabilites when a vif is added (based on ht_supported
advertized is 'true'). ath6kl_set_htcap
seems to be called when an AP vif is added but not so in
other vifs. Fix this.

Signed-off-by: Mohammed Shafi Shajakhan <mohammed@qca.qualcomm.com>
---
 drivers/net/wireless/ath/ath6kl/cfg80211.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/drivers/net/wireless/ath/ath6kl/cfg80211.c b/drivers/net/wireless/ath/ath6kl/cfg80211.c
index d6e6c2d..5c3aaf6 100644
--- a/drivers/net/wireless/ath/ath6kl/cfg80211.c
+++ b/drivers/net/wireless/ath/ath6kl/cfg80211.c
@@ -3630,6 +3630,8 @@ struct wireless_dev *ath6kl_interface_add(struct ath6kl *ar, char *name,
 	list_add_tail(&vif->list, &ar->vif_list);
 	spin_unlock_bh(&ar->list_lock);
 
+	ath6kl_restore_htcap(vif);
+
 	return &vif->wdev;
 
 err:
-- 
1.7.0.4


^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2012-11-16 14:08 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-10-16 15:52 [PATCH] ath6kl: Set HT caps when an interface is added Mohammed Shafi Shajakhan
2012-10-21  9:58 ` Kalle Valo
2012-10-22  5:25   ` Mohammed Shafi Shajakhan
2012-11-16 11:31     ` Kalle Valo
2012-11-16 14:08       ` Mohammed Shafi Shajakhan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).