linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [RFC] ath6kl: trivial cleanup
@ 2012-08-24 14:23 Mohammed Shafi Shajakhan
  2012-08-27 14:16 ` Kalle Valo
  0 siblings, 1 reply; 3+ messages in thread
From: Mohammed Shafi Shajakhan @ 2012-08-24 14:23 UTC (permalink / raw)
  To: John W. Linville; +Cc: linux-wireless, Kalle Valo, Mohammed Shafi Shajakhan

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

a minor cleanup in assigning the driver specific network type
based on interface type.

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

diff --git a/drivers/net/wireless/ath/ath6kl/cfg80211.c b/drivers/net/wireless/ath/ath6kl/cfg80211.c
index 86aeef4..a971d54 100644
--- a/drivers/net/wireless/ath/ath6kl/cfg80211.c
+++ b/drivers/net/wireless/ath/ath6kl/cfg80211.c
@@ -369,17 +369,13 @@ static int ath6kl_nliftype_to_drv_iftype(enum nl80211_iftype type, u8 *nw_type)
 {
 	switch (type) {
 	case NL80211_IFTYPE_STATION:
+	case NL80211_IFTYPE_P2P_CLIENT:
 		*nw_type = INFRA_NETWORK;
 		break;
 	case NL80211_IFTYPE_ADHOC:
 		*nw_type = ADHOC_NETWORK;
 		break;
 	case NL80211_IFTYPE_AP:
-		*nw_type = AP_NETWORK;
-		break;
-	case NL80211_IFTYPE_P2P_CLIENT:
-		*nw_type = INFRA_NETWORK;
-		break;
 	case NL80211_IFTYPE_P2P_GO:
 		*nw_type = AP_NETWORK;
 		break;
-- 
1.7.0.4


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

* Re: [RFC] ath6kl: trivial cleanup
  2012-08-24 14:23 [RFC] ath6kl: trivial cleanup Mohammed Shafi Shajakhan
@ 2012-08-27 14:16 ` Kalle Valo
  2012-08-27 14:19   ` Mohammed Shafi Shajakhan
  0 siblings, 1 reply; 3+ messages in thread
From: Kalle Valo @ 2012-08-27 14:16 UTC (permalink / raw)
  To: Mohammed Shafi Shajakhan; +Cc: John W. Linville, linux-wireless

On 08/24/2012 05:23 PM, Mohammed Shafi Shajakhan wrote:
> From: Mohammed Shafi Shajakhan <mohammed@qca.qualcomm.com>
> 
> a minor cleanup in assigning the driver specific network type
> based on interface type.
> 
> Signed-off-by: Mohammed Shafi Shajakhan <mohammed@qca.qualcomm.com>

Thanks, applied to ath6kl.git. But I changed the title to:

ath6kl: trivial cleanup on interface type selection

Kalle

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

* Re: [RFC] ath6kl: trivial cleanup
  2012-08-27 14:16 ` Kalle Valo
@ 2012-08-27 14:19   ` Mohammed Shafi Shajakhan
  0 siblings, 0 replies; 3+ messages in thread
From: Mohammed Shafi Shajakhan @ 2012-08-27 14:19 UTC (permalink / raw)
  To: Kalle Valo; +Cc: John W. Linville, linux-wireless

Hi Kalle,

On Monday 27 August 2012 07:46 PM, Kalle Valo wrote:
> On 08/24/2012 05:23 PM, Mohammed Shafi Shajakhan wrote:
>> From: Mohammed Shafi Shajakhan <mohammed@qca.qualcomm.com>
>>
>> a minor cleanup in assigning the driver specific network type
>> based on interface type.
>>
>> Signed-off-by: Mohammed Shafi Shajakhan <mohammed@qca.qualcomm.com>
>
> Thanks, applied to ath6kl.git. But I changed the title to:
>
> ath6kl: trivial cleanup on interface type selection

thanks for the review!

>
> Kalle
>


-- 
thanks,
shafi



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

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

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-08-24 14:23 [RFC] ath6kl: trivial cleanup Mohammed Shafi Shajakhan
2012-08-27 14:16 ` Kalle Valo
2012-08-27 14:19   ` 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).