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)
commit92fe9b5f112c77dbb63f42f7bed885d709586106
tree0fc9e2e0a3458330dd22bbc4246a3d4d12286b04
parent1ec610ebd6390c2b028434144af204c312a68791
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