Skip to content

Commit

Permalink
Merge pull request #31 from galvanized/master
Browse files Browse the repository at this point in the history
Remove troublesome ampersand
  • Loading branch information
xtknight authored Dec 20, 2017
2 parents 10b2471 + 783c3ce commit 3b7b8d9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion os/linux/sta_ioctl.c
Original file line number Diff line number Diff line change
Expand Up @@ -693,7 +693,7 @@ int rt_ioctl_iwaplist(struct net_device *dev,
set_quality(pAd, &qual[i], pList); /*&pAd->ScanTab.BssEntry[i]); */
}
data->length = i;
memcpy(extra, &addr, i*sizeof(addr[0]));
memcpy(extra, addr, i*sizeof(addr[0]));
data->flags = 1; /* signal quality present (sort of) */
memcpy(extra + i*sizeof(addr[0]), &qual, i*sizeof(qual[i]));

Expand Down

0 comments on commit 3b7b8d9

Please sign in to comment.