Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 314313
b: refs/heads/master
c: dafe94b
h: refs/heads/master
i:
  314311: 29f67bd
v: v3
  • Loading branch information
Marek Lindner authored and Antonio Quartulli committed Jun 18, 2012
1 parent 26bf2c6 commit 8c9e487
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 75c5a2e788ab02f67931442e8dcbc854ae7252d1
refs/heads/master: dafe94b278e052c3901b137fe6f666f8f92d839a
3 changes: 3 additions & 0 deletions trunk/net/batman-adv/gateway_common.c
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,9 @@ ssize_t gw_bandwidth_set(struct net_device *net_dev, char *buff, size_t count)
**/
gw_bandwidth_to_kbit((uint8_t)gw_bandwidth_tmp, &down, &up);

if (atomic_read(&bat_priv->gw_bandwidth) == gw_bandwidth_tmp)
return count;

gw_deselect(bat_priv);
bat_info(net_dev,
"Changing gateway bandwidth from: '%i' to: '%ld' (propagating: %d%s/%d%s)\n",
Expand Down

0 comments on commit 8c9e487

Please sign in to comment.