On Tue, 2020-02-04 at 11:35 +0100, John Crispin wrote: > > + for (j = 0; j < NL80211_HE_NSS_MAX; j++) { > + if (~sdata->rc_rateidx_he_mcs_mask[i][j]) { Let's not copy-paste this weird ~ here, we can just ask if it's ! right? johannes
On Tue, 2020-02-04 at 11:35 +0100, John Crispin wrote: > > + for (j = 0; j < NL80211_HE_NSS_MAX; j++) { > + if (~sdata->rc_rateidx_he_mcs_mask[i][j]) { Let's not copy-paste this weird ~ here, we can just ask if it's ! right? johannes