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

* Re: [PATCH] ath6kl: Set HT caps when an interface is added
  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
  0 siblings, 1 reply; 5+ messages in thread
From: Kalle Valo @ 2012-10-21  9:58 UTC (permalink / raw)
  To: Mohammed Shafi Shajakhan; +Cc: ath6kl-devel, linux-wireless

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

> 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>

This was found during code review, right? Or does it fix a real bug?

Kalle

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

* Re: [PATCH] ath6kl: Set HT caps when an interface is added
  2012-10-21  9:58 ` Kalle Valo
@ 2012-10-22  5:25   ` Mohammed Shafi Shajakhan
  2012-11-16 11:31     ` Kalle Valo
  0 siblings, 1 reply; 5+ messages in thread
From: Mohammed Shafi Shajakhan @ 2012-10-22  5:25 UTC (permalink / raw)
  To: Kalle Valo; +Cc: ath6kl-devel, linux-wireless

Hi Kalle,

On Sunday 21 October 2012 03:28 PM, Kalle Valo wrote:
> Mohammed Shafi Shajakhan <mohammed@qca.qualcomm.com> writes:
>
>> 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>
>
> This was found during code review, right? Or does it fix a real bug?

yes this was based on code review, would soon come with some test 
results with multivif.

>


-- 
thanks,
shafi



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

* Re: [PATCH] ath6kl: Set HT caps when an interface is added
  2012-10-22  5:25   ` Mohammed Shafi Shajakhan
@ 2012-11-16 11:31     ` Kalle Valo
  2012-11-16 14:08       ` Mohammed Shafi Shajakhan
  0 siblings, 1 reply; 5+ messages in thread
From: Kalle Valo @ 2012-11-16 11:31 UTC (permalink / raw)
  To: Mohammed Shafi Shajakhan; +Cc: ath6kl-devel, linux-wireless

Hi,

On 10/22/2012 08:25 AM, Mohammed Shafi Shajakhan wrote:
> On Sunday 21 October 2012 03:28 PM, Kalle Valo wrote:
>> Mohammed Shafi Shajakhan <mohammed@qca.qualcomm.com> writes:
>>
>>> 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>
>>
>> This was found during code review, right? Or does it fix a real bug?
> 
> yes this was based on code review, would soon come with some test 
> results with multivif.

I'm not sure what was the conclusion, is this safe to apply?

Kalle

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

* Re: [PATCH] ath6kl: Set HT caps when an interface is added
  2012-11-16 11:31     ` Kalle Valo
@ 2012-11-16 14:08       ` Mohammed Shafi Shajakhan
  0 siblings, 0 replies; 5+ messages in thread
From: Mohammed Shafi Shajakhan @ 2012-11-16 14:08 UTC (permalink / raw)
  To: Kalle Valo; +Cc: ath6kl-devel, linux-wireless

Hi Kalle,

On Friday 16 November 2012 05:01 PM, Kalle Valo wrote:
> Hi,
>
> On 10/22/2012 08:25 AM, Mohammed Shafi Shajakhan wrote:
>> On Sunday 21 October 2012 03:28 PM, Kalle Valo wrote:
>>> Mohammed Shafi Shajakhan <mohammed@qca.qualcomm.com> writes:
>>>
>>>> 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>
>>>
>>> This was found during code review, right? Or does it fix a real bug?
>>
>> yes this was based on code review, would soon come with some test
>> results with multivif.
>
> I'm not sure what was the conclusion, is this safe to apply?

Sorry i missed this, yeah will confirm it soon with a basic test and let 
you know. Please don't apply till that. thanks for your patience :)

>
> Kalle
>


-- 
thanks,
shafi



^ permalink raw reply	[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).