浏览代码

staging: ath6kl: Fixing the cached copy of the BSS filter set by user

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>
Vipin Mehta 14 年之前
父节点
当前提交
9ea979d3b9
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      drivers/staging/ath6kl/os/linux/ioctl.c

+ 1 - 1
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;