lkml.org 
[lkml]   [2013]   [Apr]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH v2] mac802154: Keep track of the channel when changed
From
From: Alan Ott <alan@signal11.us>
Date: Fri, 5 Apr 2013 19:03:10 -0400

> Two sections checked whether the current channel != the new channel
> without ever setting the current channel variables.
>
> 1. net/mac802154/tx.c: Prevent set_channel() from getting called every
> time a packet is sent.
>
> 2. net/mac802154/mib.c: Lock (pib_lock) accesses to current_channel and
> current_page and make sure they are updated when the channel has been
> changed.
>
> Signed-off-by: Alan Ott <alan@signal11.us>

Applied.


\
 
 \ /
  Last update: 2013-04-08 19:01    [W:0.033 / U:2.324 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site