linux/drivers/net
Jouni Malinen 546256fbd0 ath9k: Add sanity check for beacon_int in adhoc/mesh case
It looks like mac80211 can request the driver to start beaconing with
a beacon interval of zero in some cases (at least for mesh point). This
does not sound correct and something may need to be fixed in
mac80211. However, taken into account the unpleasantness of getting
stuck in an infinite busy loop with rtnl_lock held, let's add a quick
workaround in the driver to avoid the worst symptom while someone more
familiar with the mesh implementation can figure out what should be done
with mac80211 as far as beacon interval configuration is concerned.

Signed-off-by: Jouni Malinen <jouni.malinen@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
2009-06-03 14:05:11 -04:00
..
appletalk net: skb->rtable accessor 2009-06-03 02:51:02 -07:00
arcnet
arm net: replace dma_sync_single with dma_sync_single_for_cpu 2009-05-29 01:51:22 -07:00
atl1c atl1c_main.c: add wait_for_idle routine 2009-06-01 03:13:12 -07:00
atl1e Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6 2009-06-03 02:43:41 -07:00
atlx Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6 2009-06-03 02:43:41 -07:00
benet net: dont update dev->trans_start in 10GB drivers 2009-05-29 01:46:26 -07:00
bonding bonding: use bond_is_lb() when it's appropriate 2009-05-29 22:08:31 -07:00
can can: sja1000: generic OF platform bus driver 2009-06-01 02:53:35 -07:00
chelsio net: dont update dev->trans_start in 10GB drivers 2009-05-29 01:46:26 -07:00
cris
cxgb3 Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6 2009-06-03 02:43:41 -07:00
e1000 Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6 2009-06-03 02:43:41 -07:00
e1000e e1000e: bump the version number 2009-06-03 02:46:37 -07:00
ehea Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6 2009-05-08 02:48:30 -07:00
enic net: dont update dev->trans_start in 10GB drivers 2009-05-29 01:46:26 -07:00
fs_enet
hamradio
ibm_newemac
igb net: dont update dev->trans_start 2009-05-29 01:46:27 -07:00
igbvf net: dont update dev->trans_start 2009-05-29 01:46:27 -07:00
irda irda-usb: suspend/resume support 2009-05-29 22:12:33 -07:00
ixgb net: dont update dev->trans_start in 10GB drivers 2009-05-29 01:46:26 -07:00
ixgbe net: convert unicast addr list 2009-05-29 22:12:32 -07:00
ixp2000
mlx4 Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6 2009-06-03 02:43:41 -07:00
myri10ge net: dont update dev->trans_start in 10GB drivers 2009-05-29 01:46:26 -07:00
netxen net: dont update dev->trans_start in 10GB drivers 2009-05-29 01:46:26 -07:00
pcmcia
phy net/phy/marvell: update m88e1111 support for SGMII mode 2009-06-03 02:52:45 -07:00
qlge net: dont update dev->trans_start in 10GB drivers 2009-05-29 01:46:26 -07:00
sfc net: dont update dev->trans_start in 10GB drivers 2009-05-29 01:46:26 -07:00
skfp skfddi: convert PRINTK() to pr_debug() 2009-05-17 21:03:47 -07:00
tokenring
tulip
usb usbnet: ratelimit warning messages invoked from callback handler 2009-05-29 22:13:58 -07:00
vxge net: dont update dev->trans_start in 10GB drivers 2009-05-29 01:46:26 -07:00
wan net: replace dma_sync_single with dma_sync_single_for_cpu 2009-05-29 01:51:22 -07:00
wimax wimax/i2400m: usb: fix device reset on autosuspend while not yet idle 2009-05-28 18:02:27 -07:00
wireless ath9k: Add sanity check for beacon_int in adhoc/mesh case 2009-06-03 14:05:11 -04:00
3c59x.c 3c5xx: convert printk() to pr_<foo>() 2009-05-26 20:35:03 -07:00
3c501.c 3c50x: convert printk() to pr_<foo>() 2009-05-26 20:35:02 -07:00
3c501.h
3c503.c 3c50x: convert printk() to pr_<foo>() 2009-05-26 20:35:02 -07:00
3c503.h
3c505.c 3c50x: convert printk() to pr_<foo>() 2009-05-26 20:35:02 -07:00
3c505.h
3c507.c 3c50x: convert printk() to pr_<foo>() 2009-05-26 20:35:02 -07:00
3c509.c Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6 2009-06-03 02:43:41 -07:00
3c515.c 3c5xx: convert printk() to pr_<foo>() 2009-05-26 20:35:03 -07:00
3c523.c 3c5xx: convert printk() to pr_<foo>() 2009-05-26 20:35:03 -07:00
3c523.h
3c527.c 3c5xx: convert printk() to pr_<foo>() 2009-05-26 20:35:03 -07:00
3c527.h
7990.c
7990.h
8139cp.c 8139*: convert printk() to pr_<foo>() 2009-05-26 20:35:04 -07:00
8139too.c 8139*: convert printk() to pr_<foo>() 2009-05-26 20:35:04 -07:00
8390.c
8390.h
8390p.c
82596.c drivers/net/82596.c: suppress warnings 2009-05-17 11:59:51 -07:00
a2065.c
a2065.h
ac3200.c
acenic.c net: dont update dev->trans_start 2009-05-29 01:46:27 -07:00
acenic.h
amd8111e.c
amd8111e.h
apne.c
ariadne.c
ariadne.h
at1700.c
atarilance.c
atp.c
atp.h
au1000_eth.c
au1000_eth.h
ax88796.c
b44.c net: use netdev stats in b44, sundance, via-rhine and via-velocity 2009-05-27 15:47:07 -07:00
b44.h net: use netdev stats in b44, sundance, via-rhine and via-velocity 2009-05-27 15:47:07 -07:00
bfin_mac.c Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6 2009-06-03 02:43:41 -07:00
bfin_mac.h
bmac.c
bmac.h
bnx2_fw.h
bnx2.c net: convert unicast addr list 2009-05-29 22:12:32 -07:00
bnx2.h bnx2: bnx2_tx_int() optimizations 2009-05-17 20:47:44 -07:00
bnx2x_dump.h
bnx2x_fw_defs.h
bnx2x_fw_file_hdr.h
bnx2x_hsi.h
bnx2x_init_ops.h
bnx2x_init.h
bnx2x_link.c
bnx2x_link.h
bnx2x_main.c net: dont update dev->trans_start in 10GB drivers 2009-05-29 01:46:26 -07:00
bnx2x_reg.h
bnx2x.h
bsd_comp.c
cassini.c
cassini.h
cpmac.c cpmac: prevent fatal exception in cpmac_end_xmit 2009-06-01 02:56:39 -07:00
cs89x0.c
cs89x0.h
davinci_emac.c net: Add TI DaVinci EMAC driver 2009-05-18 15:19:01 -07:00
de600.c de600: convert PRINTK() to pr_debug() 2009-05-17 21:03:45 -07:00
de600.h
de620.c de620: convert PRINTK() to pr_debug() and cleanup 2009-05-17 21:03:46 -07:00
de620.h
declance.c
defxx.c
defxx.h
depca.c
depca.h
dl2k.c net: dont update dev->trans_start 2009-05-29 01:46:27 -07:00
dl2k.h
dm9000.c
dm9000.h
dnet.c
dnet.h
dummy.c
e100.c
e2100.c
eepro.c
eexpress.c
eexpress.h
enc28j60_hw.h
enc28j60.c
epic100.c
eql.c net: release dst entry in dev_hard_start_xmit() 2009-05-18 22:19:19 -07:00
es3210.c
eth16i.c
ethoc.c
ewrk3.c
ewrk3.h
fealnx.c
fec_mpc52xx_phy.c
fec_mpc52xx.c
fec_mpc52xx.h
fec.c
fec.h
forcedeth.c Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6 2009-06-03 02:43:41 -07:00
fsl_pq_mdio.c fsl_pq_mido: Set the first UCC as the mii management interface master 2009-06-03 02:52:46 -07:00
fsl_pq_mdio.h
gianfar_ethtool.c
gianfar_sysfs.c
gianfar.c Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6 2009-05-25 01:42:21 -07:00
gianfar.h Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6 2009-06-03 02:43:41 -07:00
hamachi.c net: dont update dev->trans_start 2009-05-29 01:46:27 -07:00
hp100.c
hp100.h
hp-plus.c
hp.c
hplance.c
hplance.h
hydra.c
ibmlana.c
ibmlana.h
ibmveth.c net/ibmveth: fix panic in probe 2009-05-17 15:19:36 -07:00
ibmveth.h
ifb.c net: release dst entry in dev_hard_start_xmit() 2009-05-18 22:19:19 -07:00
ioc3-eth.c
ipg.c
ipg.h
isa-skeleton.c
iseries_veth.c
jazzsonic.c
jme.c net: dont update dev->trans_start 2009-05-29 01:46:27 -07:00
jme.h
Kconfig fec: Add FEC support for MX35 processor 2009-05-29 22:12:34 -07:00
korina.c korina: periodically poll the media 2009-05-29 01:51:22 -07:00
lance.c
lasi_82596.c
lib8390.c
lib82596.c
LICENSE.SRC
ll_temac_main.c
ll_temac_mdio.c
ll_temac.h
lne390.c
loopback.c net: release dst entry in dev_hard_start_xmit() 2009-05-18 22:19:19 -07:00
lp486e.c
mac89x0.c mac89x0: remove PRINTK() 2009-05-17 21:03:46 -07:00
mac8390.c Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6 2009-06-03 02:43:41 -07:00
macb.c
macb.h
mace.c
mace.h
macmace.c
macsonic.c
macvlan.c net: convert unicast addr list 2009-05-29 22:12:32 -07:00
Makefile Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6 2009-06-03 02:43:41 -07:00
mdio.c
meth.c Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6 2009-05-18 21:08:20 -07:00
meth.h
mii.c
mipsnet.c
mv643xx_eth.c net: convert unicast addr list 2009-05-29 22:12:32 -07:00
mvme147.c
myri_sbus.c
myri_sbus.h
natsemi.c
ne2.c
ne2k-pci.c
ne3210.c
ne-h8300.c
ne.c
netconsole.c
netx-eth.c
ni52.c
ni52.h
ni65.c
ni65.h
ni5010.c
ni5010.h
niu.c net: convert unicast addr list 2009-05-29 22:12:32 -07:00
niu.h
ns83820.c net: dont update dev->trans_start 2009-05-29 01:46:27 -07:00
pasemi_mac_ethtool.c
pasemi_mac.c
pasemi_mac.h
pci-skeleton.c
pcnet32.c
plip.c
ppp_async.c
ppp_deflate.c
ppp_generic.c ppp: unset IFF_XMIT_DST_RELEASE in ppp_setup() 2009-05-19 14:24:37 -07:00
ppp_mppe.c
ppp_mppe.h
ppp_synctty.c
pppoe.c
pppol2tp.c net: skb->dst accessors 2009-06-03 02:51:04 -07:00
pppox.c
ps3_gelic_net.c
ps3_gelic_net.h
ps3_gelic_wireless.c
ps3_gelic_wireless.h
qla3xxx.c net: dont update dev->trans_start 2009-05-29 01:46:27 -07:00
qla3xxx.h
r6040.c r6040: check and update media status 2009-05-27 15:46:53 -07:00
r8169.c Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6 2009-06-03 02:43:41 -07:00
rionet.c
rrunner.c
rrunner.h
s2io-regs.h
s2io.c net: dont update dev->trans_start in 10GB drivers 2009-05-29 01:46:26 -07:00
s2io.h
sb1000.c
sb1250-mac.c
sc92031.c
seeq8005.c
seeq8005.h
sgiseeq.c
sgiseeq.h
sh_eth.c sh_eth: Remove references to BUS_ID_SIZE, use MII_BUS_ID_SIZE instead. 2009-05-26 21:11:09 -07:00
sh_eth.h net: sh_eth: Add support SH7724 2009-05-25 22:49:56 -07:00
sis190.c net: dont update dev->trans_start 2009-05-29 01:46:27 -07:00
sis900.c
sis900.h
skge.c net: dont update dev->trans_start 2009-05-29 01:46:27 -07:00
skge.h
sky2.c net: dont update dev->trans_start 2009-05-29 01:46:27 -07:00
sky2.h
slhc.c
slip.c
slip.h
smc91x.c
smc91x.h
smc911x.c
smc911x.h
smc9194.c
smc9194.h
smc-mca.c
smc-ultra32.c
smc-ultra.c
smsc911x.c smsc911x: fix calculation of res_size for ioremap 2009-05-07 15:00:12 -07:00
smsc911x.h
smsc9420.c
smsc9420.h
sni_82596.c
sonic.c
sonic.h
Space.c
spider_net_ethtool.c
spider_net.c
spider_net.h
starfire.c
stnic.c
sun3_82586.c
sun3_82586.h
sun3lance.c
sunbmac.c
sunbmac.h
sundance.c net: use netdev stats in b44, sundance, via-rhine and via-velocity 2009-05-27 15:47:07 -07:00
sungem_phy.c
sungem_phy.h
sungem.c
sungem.h
sunhme.c
sunhme.h
sunlance.c
sunqe.c
sunqe.h
sunvnet.c
sunvnet.h
tc35815.c drivers/net: Convert #ifdef DEBUG printk(KERN_DEBUG to pr_debug( 2009-05-17 21:03:43 -07:00
tehuti.c net: dont update dev->trans_start in 10GB drivers 2009-05-29 01:46:26 -07:00
tehuti.h
tg3.c net: dont update dev->trans_start 2009-05-29 01:46:27 -07:00
tg3.h
tlan.c
tlan.h
tsi108_eth.c
tsi108_eth.h
tun.c tun: add tun_flags, owner, group attributes in sysfs 2009-05-09 22:54:21 -07:00
typhoon.c
typhoon.h
ucc_geth_ethtool.c
ucc_geth.c net/ucc_geth: Add SGMII support for UEC GETH driver 2009-06-03 02:52:47 -07:00
ucc_geth.h net/ucc_geth: Add SGMII support for UEC GETH driver 2009-06-03 02:52:47 -07:00
veth.c veth: dont release skb->dst in veth_xmit() 2009-05-29 15:15:30 -07:00
via-rhine.c net: use netdev stats in b44, sundance, via-rhine and via-velocity 2009-05-27 15:47:07 -07:00
via-velocity.c net: use netdev stats in b44, sundance, via-rhine and via-velocity 2009-05-27 15:47:07 -07:00
via-velocity.h net: use netdev stats in b44, sundance, via-rhine and via-velocity 2009-05-27 15:47:07 -07:00
virtio_net.c net: convert unicast addr list 2009-05-29 22:12:32 -07:00
wd.c
xen-netfront.c
xtsonic.c
yellowfin.c net: dont update dev->trans_start 2009-05-29 01:46:27 -07:00
znet.c
zorro8390.c