forked from luck/tmp_suning_uos_patched
2c1bbbffa0
Change MAC802154_CHAN_NONE from ~(u8)0 to 0xff, or the comparison in mac802154_wpan_xmit() for ``chan == MAC802154_CHAN_NONE'' will not succeed. This bug can be boiled down to ``u8 foo = 0xff; if (foo == ~(u8)0) [...] else [...]'' where the condition will always take the else branch. Signed-off-by: Chen Gang <gang.chen@asianux.com> Signed-off-by: David S. Miller <davem@davemloft.net> |
||
---|---|---|
.. | ||
ieee802154_dev.c | ||
Kconfig | ||
mac_cmd.c | ||
mac802154.h | ||
Makefile | ||
mib.c | ||
monitor.c | ||
rx.c | ||
tx.c | ||
wpan.c |