Search Linux Wireless

Re: [PATCH V2] mac80211 : Fix mode change hard_start_xmit function

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

 



On Fri, 2008-09-12 at 13:44 -0700, Abhijeet Kolekar wrote:
> When monitor mode is changed to BSS or IBSS, data trasnfer can not happen
> because proper transmit function is not assigend for BSS ,IBSS mode.
> This patch fixes this problem by assigning the ieee80211_subif_start_xmit
> to device's hard_start_xmit function.

>  	/* and set some type-dependent values */
>  	sdata->vif.type = type;
> +	sdata->dev->hard_start_xmit = ieee80211_subif_start_xmit;
>  
>  	/* only monitor differs */
>  	sdata->dev->type = ARPHRD_ETHER;

I'd have prefered if you'd put it along with "only monitor mode differs"
but heh :)

Acked-by: Johannes Berg <johannes@xxxxxxxxxxxxxxxx>

johannes

Attachment: signature.asc
Description: This is a digitally signed message part


[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