You've already forked linux-apfs
mirror of
https://github.com/linux-apfs/linux-apfs.git
synced 2026-05-01 15:00:59 -07:00
Staging: rt2860/sta_ioctl.c: Two branches the same in rt_ioctl_giwscan()
Regardless of the condition, the branches execute the same code Signed-off-by: Roel Kluin <roel.kluin@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
57ac827c9b
commit
a2c3fdb996
@@ -975,9 +975,6 @@ int rt_ioctl_giwscan(struct net_device *dev,
|
||||
/*================================ */
|
||||
memset(&iwe, 0, sizeof(iwe));
|
||||
iwe.cmd = SIOCGIWFREQ;
|
||||
if (INFRA_ON(pAdapter) || ADHOC_ON(pAdapter))
|
||||
iwe.u.freq.m = pAdapter->ScanTab.BssEntry[i].Channel;
|
||||
else
|
||||
iwe.u.freq.m = pAdapter->ScanTab.BssEntry[i].Channel;
|
||||
iwe.u.freq.e = 0;
|
||||
iwe.u.freq.i = 0;
|
||||
|
||||
Reference in New Issue
Block a user