]> git.baikalelectronics.ru Git - kernel.git/commit
wl12xx: fix identification of beacon packets (debug)
authorEliad Peller <eliad@wizery.com>
Wed, 9 Feb 2011 10:25:14 +0000 (12:25 +0200)
committerLuciano Coelho <coelho@ti.com>
Tue, 22 Feb 2011 16:06:36 +0000 (18:06 +0200)
commit541de39ee7431057ca05e1fe4d5641963c9945dd
tree0fc9e2e0a3458330dd22bbc4246a3d4d12286b04
parent677008c953c54f07a1fe14dab743c7e204372734
wl12xx: fix identification of beacon packets (debug)

for debugging purposes, wl12xx determines whether a rx packet
is a beacon packet.

however, it checks only the frame_control subtype without checking
the actual packet type, which leads to false identification in some
cases.

use ieee80211_is_beacon instead.

Signed-off-by: Eliad Peller <eliad@wizery.com>
Signed-off-by: Luciano Coelho <coelho@ti.com>
drivers/net/wireless/wl12xx/rx.c