staging: ath6kl: Fixing the cached copy of the BSS filter set by user
authorVipin Mehta <vmehta@atheros.com>
Fri, 18 Feb 2011 21:13:13 +0000 (13:13 -0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 18 Feb 2011 21:28:52 +0000 (13:28 -0800)
Fixing the cached copy of the BSS filter set by user.

Signed-off-by: Vipin Mehta <vmehta@atheros.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/ath6kl/os/linux/ioctl.c

index fe275c7ed32d7aca54057f8c435e14f02523df38..6d15d2df8613acc9a2ff79d97027912b01b1adff 100644 (file)
@@ -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;