summaryrefslogtreecommitdiff
path: root/drivers/net/wireless/at76c50x-usb.c
diff options
context:
space:
mode:
authorJohn W. Linville <linville@tuxdriver.com>2009-02-21 00:03:31 (GMT)
committerJohn W. Linville <linville@tuxdriver.com>2009-02-27 19:52:44 (GMT)
commit41d2f291d78fb90ec26122c1c67d0c151965b378 (patch)
tree10e1fa71191b871a289689916a30b73d09655f55 /drivers/net/wireless/at76c50x-usb.c
parentc493b017e0631ac023f904a732e8b615d4870426 (diff)
downloadlinux-fsl-qoriq-41d2f291d78fb90ec26122c1c67d0c151965b378.tar.xz
iwlagn: default to MAX_UCODE_BEACON_INTERVAL in iwl_adjust_beacon_interval
Default to MAX_UCODE_BEACON_INTERVAL if the output of iwl_adjust_beacon_interval would otherwise be zero. This prevents a division by zero on my iwl5300-equipped Lenovo T400 with kernels that include "mac80211: use cfg80211s BSS infrastructure". This patch is a bit of a hack -- I'm not sure why iwl_setup_rxon_timing is giving iwl_adjust_beacon_interval a zero input (which is the only way it would output zero). I would be happy to have a better fix. But for now, this makes my box boot... Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/at76c50x-usb.c')
0 files changed, 0 insertions, 0 deletions