Search Linux Wireless

Re: [PATCH v2 2/3] mac80211: cache mesh beacon

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

 



On Thu, Feb 14, 2013 at 3:57 AM, Marco Porsch <marco@xxxxxxxxxxx> wrote:
> When re-submitting, could you please check if you unintentionally removed
> the call to ieee80211_mps_set_frame_flags when building the beacon?

>> -
>> -               skb_reserve(skb, local->hw.extra_tx_headroom);
>> -               mgmt = (struct ieee80211_mgmt *) skb_put(skb, hdr_len);
>> -               memset(mgmt, 0, hdr_len);
>> -               mgmt->frame_control =
>> -                   cpu_to_le16(IEEE80211_FTYPE_MGMT |
>> IEEE80211_STYPE_BEACON);
>> -               eth_broadcast_addr(mgmt->da);
>> -               memcpy(mgmt->sa, sdata->vif.addr, ETH_ALEN);
>> -               memcpy(mgmt->bssid, sdata->vif.addr, ETH_ALEN);
>> -               ieee80211_mps_set_frame_flags(sdata, NULL, (void *) mgmt);

Ouch, missed that one. Thanks.

-- 
Thomas
--
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 Wireless Personal Area Network]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Hiking]     [MIPS Linux]     [ARM Linux]     [Linux RAID]

  Powered by Linux