diff options
Diffstat (limited to 'drivers/net/wireless/libertas/scan.c')
-rw-r--r-- | drivers/net/wireless/libertas/scan.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/libertas/scan.c b/drivers/net/wireless/libertas/scan.c index e5e30b24cf02..601b54249677 100644 --- a/drivers/net/wireless/libertas/scan.c +++ b/drivers/net/wireless/libertas/scan.c | |||
@@ -1129,7 +1129,7 @@ static int lbs_ret_80211_scan(struct lbs_private *priv, unsigned long dummy, | |||
1129 | goto done; | 1129 | goto done; |
1130 | } | 1130 | } |
1131 | 1131 | ||
1132 | bytesleft = le16_to_cpu(scanresp->bssdescriptsize); | 1132 | bytesleft = get_unaligned_le16(&scanresp->bssdescriptsize); |
1133 | lbs_deb_scan("SCAN_RESP: bssdescriptsize %d\n", bytesleft); | 1133 | lbs_deb_scan("SCAN_RESP: bssdescriptsize %d\n", bytesleft); |
1134 | 1134 | ||
1135 | scanrespsize = le16_to_cpu(resp->size); | 1135 | scanrespsize = le16_to_cpu(resp->size); |