From: Grazvydas Ignotas Date: Tue, 22 Apr 2014 00:09:53 +0000 (+0300) Subject: wl1251: fix null data for IBSS X-Git-Tag: omap-for-v3.16/fixes-against-rc1~36^2~122^2^2~78 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a5640612cfc13006ef69c0b2a7b12fc120212cb3;p=pandora-kernel.git wl1251: fix null data for IBSS Fix the WARN below by not calling ieee80211_nullfunc_get() in IBSS mode, but setting up empty template the same way wl12xx driver does. WARNING: CPU: 0 PID: 914 at net/mac80211/tx.c:2750 ieee80211_nullfunc_get+0xc0/0xd0 [mac80211]() Modules linked in: wl1251_sdio wl1251 mac80211 cfg80211 ... [] (warn_slowpath_null) [] (ieee80211_nullfunc_get [mac80211]) [] (wl1251_op_bss_info_changed [wl1251]) [] (ieee80211_bss_info_change_notify [mac80211]) ... Also perform join command regardless of bss_type as that seems to be required for proper operation. Signed-off-by: Grazvydas Ignotas Tested-by: Pali Rohár Signed-off-by: John W. Linville --- Reading git-diff-tree failed