mac80211: mesh: rewrite rssi_threshold_check in C
authorBob Copeland <me@bobcopeland.com>
Tue, 5 Nov 2013 19:16:54 +0000 (11:16 -0800)
committerJohannes Berg <johannes.berg@intel.com>
Mon, 25 Nov 2013 19:50:01 +0000 (20:50 +0100)
commit36c9bb29bfad5c43327aa7b8b912ff8dca68416c
tree3f9fca737a5cc1b9cecff35267af6daed29528ca
parent32cb05bfe81ed00676a21d914db5729abe3f326f
mac80211: mesh: rewrite rssi_threshold_check in C

Use C instead of cpp for type checking.  Also swap the arguments
into the usual sdata -> sta order.

Signed-off-by: Bob Copeland <bob@cozybit.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/mesh_plink.c