ath5k: Prevent mesh interfaces from being counted as ad-hoc
authorJavier Cardona <javier@cozybit.com>
Tue, 7 Dec 2010 21:36:55 +0000 (13:36 -0800)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 8 Dec 2010 20:23:45 +0000 (15:23 -0500)
commitc26d5339424e68f8643cf3448986c4f77b941a65
tree6edbdc49c778c07540e13b06a811f57cd4aa69f9
parentd82b577b8cf89a17cab932db272769dfc69a98df
ath5k: Prevent mesh interfaces from being counted as ad-hoc

This results in an erroneus num_adhoc_vifs count, as the this counter
was incremented but not decremented for mesh interfaces.

Signed-off-by: Javier Cardona <javier@cozybit.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath5k/base.c