Search Linux Wireless

Re: [RFC 2/2] mac80211: Send the management frame at requested rate

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

 



On Fri, 2011-09-23 at 12:22 +0200, Johannes Berg wrote:

> > +	if (ieee80211_is_probe_req(hdr->frame_control) &&
> > +	    tx->sdata->local->scan_req &&
> > +	    tx->sdata->local->scan_req->no_cck)
> > +		info->flags |= IEEE80211_TX_CTL_NO_CCK_RATE;
> > +
> 
> I think this would make more sense in ieee80211_send_probe_req() rather
> than here where it'll be executed for every frame.

In fact, maybe ieee80211_send_probe_req() should just get an argument to
avoid all the checks.

johannes

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