mac80211: Fix don't use '>' operator for matching channel types
authorAshok Nagarajan <ashok@cozybit.com>
Tue, 8 May 2012 04:00:30 +0000 (21:00 -0700)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 16 May 2012 17:24:25 +0000 (13:24 -0400)
commit0e482db8d3713ad3a64a56e0dfe4fdf698fe7c1d
tree2505b2d5a523fedacf7c21eaee926a49995bb544
parent0d894ec5017f7f463254e24fd2206e41d13cadff
mac80211: Fix don't use '>' operator for matching channel types

Johannes pointed out that the use of > operators for checking channel type
mismatch maynot be correct way as we may add other channel types in future.

Signed-off-by: Ashok Nagarajan <ashok@cozybit.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/mac80211/mesh.c