Просмотр исходного кода

Merge branch 'for-john' of git://git.kernel.org/pub/scm/linux/kernel/git/jberg/mac80211

John W. Linville 13 лет назад
Родитель
Сommit
cb73e2b9ed
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      net/wireless/scan.c

+ 1 - 1
net/wireless/scan.c

@@ -1358,7 +1358,7 @@ ieee80211_bss(struct wiphy *wiphy, struct iw_request_info *info,
 						  &iwe, IW_EV_UINT_LEN);
 	}
 
-	buf = kmalloc(30, GFP_ATOMIC);
+	buf = kmalloc(31, GFP_ATOMIC);
 	if (buf) {
 		memset(&iwe, 0, sizeof(iwe));
 		iwe.cmd = IWEVCUSTOM;