mac80211_hwsim: ask mac80211 to reserve space for chanctx.drv_priv
authorKarl Beldan <karl.beldan@rivierawaves.com>
Thu, 14 Feb 2013 23:03:14 +0000 (00:03 +0100)
committerJohannes Berg <johannes.berg@intel.com>
Fri, 15 Feb 2013 08:41:45 +0000 (09:41 +0100)
commit93c78c5debeb9c7101ecc73347d4730c26a98c05
tree0496508c95d627e2bdf35456a44495086490d900
parent586e01ededf9b713a1512dd658806791a7ca1a50
mac80211_hwsim: ask mac80211 to reserve space for chanctx.drv_priv

Otherwise memory corruption occurs when using channel contexts (ATM when
param 'channel' > 1).

Signed-off-by: Karl Beldan <karl.beldan@rivierawaves.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
drivers/net/wireless/mac80211_hwsim.c