From: Ivo van Doorn Date: Sun, 6 Jan 2008 22:38:58 +0000 (+0100) Subject: rt2x00: Only set the TBCN flag when the interface is configured to send beacons. X-Git-Tag: v2.6.25-rc1~1162^2~168 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3867705bb773818b39e0ca8d02ccb71fb4d2ffb8;p=pandora-kernel.git rt2x00: Only set the TBCN flag when the interface is configured to send beacons. These flags used to be fixed to one in rt2500pci_config_type, which caused the beacon timer interrupt to fire. This would lead to rt2x00lib_beacondone adding work which called rt2x00lib_beacondone_scheduled which called ieee80211_beacon_get which printed an error about not having any beacon data. With this patch, these interrupts are only generated when the interface is configured to send beacons. Signed-off-by: Matthijs Kooijman Signed-off-by: Ivo van Doorn Signed-off-by: John W. Linville --- Reading git-diff-tree failed