]> git.ipfire.org Git - thirdparty/iw.git/commit
iw: Print beacon-loss-event string.
authorBen Greear <greearb@candelatech.com>
Thu, 31 Jan 2013 05:31:29 +0000 (21:31 -0800)
committerJohannes Berg <johannes.berg@intel.com>
Thu, 31 Jan 2013 15:40:21 +0000 (16:40 +0100)
commite5497f12f1b4323e7ed377b030660337575e42e1
tree6ac6e50fdef22c2f98ddd185480004f43adc45c8
parent8012ad281a8747a3382e086e2aec48c49074ae7f
iw: Print beacon-loss-event string.

There are now three possible threshold events.  The old
code assumed only above/below RSSI, and printed out 'low'
for beacon-loss-event.

Fix that, and do so with a switch statement so the compiler
can warn if the enum is further expanded w/out updating this
code.

Shorten 'connection quality monitor' to CQM to keep total string
relatively short.

Signed-off-by: Ben Greear <greearb@candelatech.com>
event.c