]> git.ipfire.org Git - thirdparty/iw.git/commit
iw: fix incorrect bit shifting in print_ht_mcs
authorJohn W. Linville <linville@tuxdriver.com>
Wed, 26 Jun 2013 15:07:40 +0000 (11:07 -0400)
committerJohannes Berg <johannes.berg@intel.com>
Wed, 26 Jun 2013 15:22:11 +0000 (17:22 +0200)
commit012f8bf398a87fed7a528d6579aa330cbc3b64df
treee71ecba8ed96d695a8a0e4a0e43b9e3b9090f6f5
parent240aa0efa532ce973e5975494cf4945e1516ade9
iw: fix incorrect bit shifting in print_ht_mcs

iw-3.10/util.c:569:result_independent_of_operands –
"mcs[10] >> 8" is 0 regardless of the values of its operands. This occurs as the bitwise first operand of '&'.

This seems more like what was intended...

Signed-off-by: John W. Linville <linville@tuxdriver.com>
util.c