Re: [PATCH v2] mac802154: Keep track of the channel when changed

2013-04-08 Thread David Miller
From: Alan Ott 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/mac8021

[PATCH v2] mac802154: Keep track of the channel when changed

2013-04-05 Thread Alan Ott
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_pag