Search Linux Wireless

Re: [RFC PATCH v2 3/4] mac80211: disable power save when scanning

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



ext Johannes Berg wrote:
On Sat, 2009-03-14 at 19:14 +0200, Kalle Valo wrote:

+	if (!ps || (local->hw.flags & IEEE80211_HW_PS_NULLFUNC_STACK))
+		/*
+		 * with IEEE80211_HW_PS_NULLFUNC_STACK and power save
+		 * enabled the firmware sent a null frame when power save
+		 * was disabled, so we need to send a new null frame
+		 */
+		ieee80211_send_nullfunc(local, sdata, 1);
+}

Now I'm confused a little. I thought with PS_NULLFUNC_STACK the firmware
_didn't_ send such frames.

That's a bug, good catch! It should be:

!(local->hw.flags & IEEE80211_HW_PS_NULLFUNC_STACK)

I'll fix that in v3.

Kalle
--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux