[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20130408.120952.822851879685807558.davem@davemloft.net>
Date: Mon, 08 Apr 2013 12:09:52 -0400 (EDT)
From: David Miller <davem@...emloft.net>
To: alan@...nal11.us
Cc: alex.bluesman.smirnov@...il.com, dbaryshkov@...il.com,
linux-zigbee-devel@...ts.sourceforge.net, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH v2] mac802154: Keep track of the channel when changed
From: Alan Ott <alan@...nal11.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@...nal11.us>
Applied.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists