diff options
author | Bjørn Mork <bjorn@mork.no> | 2014-05-16 21:48:29 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-05-16 22:39:02 -0400 |
commit | 046c65946e3d1bbc70282f43c9cd39b1d430640b (patch) | |
tree | 72cc86f2980b6865b69473b5980a41e9eb553c9a /net/batman-adv | |
parent | fa83dbeee55865678025b6c1637ca08860209f87 (diff) | |
download | linux-046c65946e3d1bbc70282f43c9cd39b1d430640b.tar.bz2 |
net: cdc_ncm: do not start timer on an empty skb
We can end up with a freshly allocated tx_curr_skb with no frames
in it. In this case it does not make any sense to start the timer.
This avoids the timer periodically trying to start tx when there
is nothing in the queue.
Signed-off-by: Bjørn Mork <bjorn@mork.no>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/batman-adv')
0 files changed, 0 insertions, 0 deletions