nl80211: fix the setting of RSSI threshold value for mesh
authorChun-Yeow Yeoh <yeohchunyeow@gmail.com>
Thu, 11 Jul 2013 10:24:03 +0000 (18:24 +0800)
committerJohannes Berg <johannes.berg@intel.com>
Tue, 16 Jul 2013 06:55:58 +0000 (09:55 +0300)
commit83374fe9de455e37c2a039603d2538eb77e8ec4d
tree2663db7c63d18eafea07aebf8b21147adf98f2bd
parente13bae4f807401729b3f27c7e882a96b8b292809
nl80211: fix the setting of RSSI threshold value for mesh

RSSI threshold value used for mesh peering should be in
negative value. After range checks to mesh parameters is
introduced, this is not allowed. Fix this.

Signed-off-by: Chun-Yeow Yeoh <yeohchunyeow@gmail.com>
Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
net/wireless/nl80211.c