[PATCH 478/961] staging: ath6kl: Fixing the cached copy of the BSS filter set by user

Greg Kroah-Hartman gregkh at suse.de
Wed Mar 16 21:02:01 UTC 2011


From: Vipin Mehta <vmehta at atheros.com>

Fixing the cached copy of the BSS filter set by user.

Signed-off-by: Vipin Mehta <vmehta at atheros.com>
Signed-off-by: Greg Kroah-Hartman <gregkh at suse.de>
---
 drivers/staging/ath6kl/os/linux/ioctl.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/staging/ath6kl/os/linux/ioctl.c b/drivers/staging/ath6kl/os/linux/ioctl.c
index fe275c7..6d15d2d 100644
--- a/drivers/staging/ath6kl/os/linux/ioctl.c
+++ b/drivers/staging/ath6kl/os/linux/ioctl.c
@@ -2590,7 +2590,7 @@ int ar6000_ioctl(struct net_device *dev, struct ifreq *rq, int cmd)
                         != 0) {
                     ret = -EIO;
                 } else {
-                    ar->arUserBssFilter = param;
+                    ar->arUserBssFilter = filt.bssFilter;
                 }
             }
             break;
-- 
1.7.4.1




More information about the devel mailing list