linux/drivers/staging
Jouni Malinen ed9d01026f cfg80211: Use consistent BSS matching between scan and sme
cfg80211 scan code adds separate BSS entries if the same BSS shows up
on multiple channels. However, sme implementation does not use the
frequency when fetching the BSS entry. Fix this by adding channel
information to cfg80211_roamed() and include it in cfg80211_get_bss()
calls.

Please note that drivers using cfg80211_roamed() need to be modified to
fully implement this fix. This commit includes only minimal changes to
avoid compilation issues; it maintains the old (broken) behavior for
most drivers. ath6kl was the only one that I could test, so I updated
it to provide the operating frequency in the roamed event.

Signed-off-by: Jouni Malinen <jouni.malinen@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
2011-05-19 10:37:18 -04:00
..
altera-stapl [media] Altera FPGA firmware download module 2011-03-21 20:32:16 -03:00
asus_oled
ath6kl cfg80211: Use consistent BSS matching between scan and sme 2011-05-19 10:37:18 -04:00
bcm staging: bcm: Remove NULL check before kfree 2011-03-14 11:57:30 -07:00
brcm80211 cfg80211: Use consistent BSS matching between scan and sme 2011-05-19 10:37:18 -04:00
comedi staging: comedi: Remove NULL check before kfree 2011-03-14 11:57:31 -07:00
cptm1217
crystalhd staging: crystalhd: fix memory leaks 2011-03-14 12:23:34 -07:00
cs5535_gpio
cx25821 Merge branch 'v4l_for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-2.6 2011-03-24 09:50:13 -07:00
cxd2099 [media] ngene: Fix compilation when cxd2099 is not enabled 2011-03-21 20:31:48 -03:00
cxt1e1
dt3155v4l
easycap Merge branch 'v4l_for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-2.6 2011-03-24 09:50:13 -07:00
echo staging: echo: fix a typo ("overflow") 2011-03-02 16:03:59 -05:00
et131x staging/et131x: fix et131x_rx_dma_disable halt_status usage 2011-02-23 14:39:09 -08:00
frontier
ft1000 staging: ft1000: Fix coding style in ft1000_proc_drvmsg function. 2011-03-14 11:51:21 -07:00
generic_serial Staging: generic_serial: fix double locking bug 2011-02-28 13:21:20 -08:00
gma500 staging: gma500: fix build errors 2011-03-07 13:28:47 -08:00
go7007 staging: go7007: Remove NULL check before kfree 2011-03-14 11:57:32 -07:00
hv Merge branch 'for-2.6.39/core' of git://git.kernel.dk/linux-2.6-block 2011-03-24 10:16:26 -07:00
iio Staging: IIO: DAC: AD5624R: Consistency cleanup - no functional changes 2011-03-14 12:21:28 -07:00
intel_sst
keucr staging: keucr: Remove NULL check before kfree 2011-03-14 11:57:32 -07:00
line6 staging: line6: Remove NULL check before kfree 2011-03-14 11:57:33 -07:00
lirc Merge branch 'v4l_for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-2.6 2011-03-24 09:50:13 -07:00
memrar
msm
octeon
olpc_dcon backlight: add backlight type 2011-03-22 17:43:59 -07:00
panel
phison
pohmelfs Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next-2.6 2011-03-16 16:29:25 -07:00
quatech_usb2 Merge branch 'staging-next' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging-2.6 2011-03-16 15:19:35 -07:00
quickstart
rt2860 staging: rt2860: Remove NULL check before kfree 2011-03-14 11:57:33 -07:00
rt2870
rtl8187se staging: rtl8187se: Remove NULL check before kfree 2011-03-14 11:57:34 -07:00
rtl8192e staging: rtl8192e: Don't copy dev pointer to skb 2011-03-14 12:24:48 -07:00
rtl8192u staging: rtl8192u: Remove NULL check before kfree 2011-03-14 11:57:35 -07:00
rtl8712 staging: rtl8712: Remove NULL check before kfree 2011-03-14 11:57:35 -07:00
rts_pstor staging: rts_pstor: MSXC card power class 2011-03-09 16:01:29 -08:00
samsung-laptop backlight: add backlight type 2011-03-22 17:43:59 -07:00
sbe-2t3e3
sep staging: sep: remove unused ioctls 2011-03-07 13:42:34 -08:00
serqt_usb2 Merge branch 'staging-next' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging-2.6 2011-03-16 15:19:35 -07:00
slicoss
sm7xx
solo6x10
speakup staging: speakup: Remove NULL check before kfree 2011-03-14 11:57:36 -07:00
spectra staging: spectra: optimize kmalloc to kzalloc 2011-03-09 15:54:32 -08:00
ste_rmi4 staging: ste_rmi4: fix memory leaks 2011-03-14 12:22:54 -07:00
tidspbridge staging: tidspbridge: protect dmm_map properly 2011-03-14 12:22:27 -07:00
tm6000 Merge branch 'v4l_for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-2.6 2011-03-24 09:50:13 -07:00
tty drivers/staging/tty/specialix.c: convert func_enter to func_exit 2011-03-23 19:46:39 -07:00
usbip Merge branch 'staging-next' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging-2.6 2011-03-16 15:19:35 -07:00
vme staging: vme: Remove NULL check before kfree 2011-03-14 11:57:37 -07:00
vt6655 staging: vt6655: Remove NULL check before kfree 2011-03-14 11:57:37 -07:00
vt6656 staging: vt6656: Remove NULL check before kfree 2011-03-14 11:57:37 -07:00
westbridge drivers: Final irq namespace conversion 2011-03-29 14:48:19 +02:00
winbond Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next-2.6 2011-03-16 16:29:25 -07:00
wlags49_h2
wlags49_h25
wlan-ng cfg80211: Use consistent BSS matching between scan and sme 2011-05-19 10:37:18 -04:00
xgifb staging: xgifb: clean up register function variable names 2011-03-14 11:52:34 -07:00
zcache
zram
Kconfig Merge branch 'v4l_for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-2.6 2011-03-24 09:50:13 -07:00
Makefile Merge branch 'v4l_for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-2.6 2011-03-24 09:50:13 -07:00
staging.c