linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] nl80211: fix STA AID bug
@ 2008-04-07 12:35 Johannes Berg
  2008-04-07 19:22 ` Chr
  0 siblings, 1 reply; 2+ messages in thread
From: Johannes Berg @ 2008-04-07 12:35 UTC (permalink / raw)
  To: John Linville
  Cc: linux-wireless, Luis Carlos Cobo, Bas Hulsken,
	Christian Lamparter

This fixes the STA AID setting and actually makes hostapd/mac80211
work properly in presence of power-saving stations.

Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
---
Makes me want to hurt myself.

 net/wireless/nl80211.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- everything.orig/net/wireless/nl80211.c	2008-04-07 14:14:20.000000000 +0200
+++ everything/net/wireless/nl80211.c	2008-04-07 14:14:39.000000000 +0200
@@ -1161,7 +1161,7 @@ static int nl80211_new_station(struct sk
 		nla_len(info->attrs[NL80211_ATTR_STA_SUPPORTED_RATES]);
 	params.listen_interval =
 		nla_get_u16(info->attrs[NL80211_ATTR_STA_LISTEN_INTERVAL]);
-	params.listen_interval = nla_get_u16(info->attrs[NL80211_ATTR_STA_AID]);
+	params.aid = nla_get_u16(info->attrs[NL80211_ATTR_STA_AID]);
 
 	if (parse_station_flags(info->attrs[NL80211_ATTR_STA_FLAGS],
 				&params.station_flags))



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

* Re: [PATCH] nl80211: fix STA AID bug
  2008-04-07 12:35 [PATCH] nl80211: fix STA AID bug Johannes Berg
@ 2008-04-07 19:22 ` Chr
  0 siblings, 0 replies; 2+ messages in thread
From: Chr @ 2008-04-07 19:22 UTC (permalink / raw)
  To: Johannes Berg
  Cc: John Linville, linux-wireless, Luis Carlos Cobo, Bas Hulsken

On Monday 07 April 2008 14:35:46 Johannes Berg wrote:
> This fixes the STA AID setting and actually makes hostapd/mac80211
> work properly in presence of power-saving stations.
>
Indeed... I have lots of problems with power-saving stations and p54-ap.
(OT: no, it's not because of your patch.. it's the device/fw. grrrrr!)

Regards,
	Chr

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

end of thread, other threads:[~2008-04-07 19:22 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-04-07 12:35 [PATCH] nl80211: fix STA AID bug Johannes Berg
2008-04-07 19:22 ` Chr

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