Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-next-2.6 into for-davem
Conflicts: arch/arm/mach-omap2/board-omap3pandora.c drivers/net/wireless/ath/ath5k/base.c
This commit is contained in:
@@ -481,7 +481,6 @@ static int lbs_ret_scan(struct lbs_private *priv, unsigned long dummy,
|
||||
struct cmd_ds_802_11_scan_rsp *scanresp = (void *)resp;
|
||||
int bsssize;
|
||||
const u8 *pos;
|
||||
u16 nr_sets;
|
||||
const u8 *tsfdesc;
|
||||
int tsfsize;
|
||||
int i;
|
||||
@@ -490,12 +489,11 @@ static int lbs_ret_scan(struct lbs_private *priv, unsigned long dummy,
|
||||
lbs_deb_enter(LBS_DEB_CFG80211);
|
||||
|
||||
bsssize = get_unaligned_le16(&scanresp->bssdescriptsize);
|
||||
nr_sets = le16_to_cpu(scanresp->nr_sets);
|
||||
|
||||
lbs_deb_scan("scan response: %d BSSs (%d bytes); resp size %d bytes\n",
|
||||
nr_sets, bsssize, le16_to_cpu(resp->size));
|
||||
scanresp->nr_sets, bsssize, le16_to_cpu(resp->size));
|
||||
|
||||
if (nr_sets == 0) {
|
||||
if (scanresp->nr_sets == 0) {
|
||||
ret = 0;
|
||||
goto done;
|
||||
}
|
||||
|
Reference in New Issue
Block a user