Search Linux Wireless

Re: [PATCH] mac80211: Enable mesh point handle action packet

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

 



On Thu, 2008-09-18 at 18:09 +0800, YanBo wrote:
> This patch enable vif in mesh_point mode can handle the action packet.
> 
> Signed-off-by: Li YanBo <dreamfly281@xxxxxxxxx>
> ---
> net/mac80211/rx.c |    3 ++-
> 1 files changed, 2 insertions(+), 1 deletions(-)
> 
> diff --git a/net/mac80211/rx.c b/net/mac80211/rx.c
> index 92d898b..763c7ea 100644
> --- a/net/mac80211/rx.c
> +++ b/net/mac80211/rx.c
> @@ -1537,7 +1537,8 @@ ieee80211_rx_h_action(struct ieee80211_rx_data *rx)
>  	 *	  of these frames in other modes as well!
>  	 */
>  	if (sdata->vif.type != NL80211_IFTYPE_STATION &&
> -	    sdata->vif.type != NL80211_IFTYPE_ADHOC)
> +	    sdata->vif.type != NL80211_IFTYPE_ADHOC &&
> + 	    sdata->vif.type != NL80211_IFTYPE_MESH_POINT)
>  		return RX_DROP_MONITOR;

My mistake, but the fix would be to return RX_CONTINUE here, I'll send a
fix.

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