cfg80211: fix ibss wext chandef creation
authorSimon Wunderlich <sw@simonwunderlich.de>
Wed, 30 Oct 2013 15:09:33 +0000 (16:09 +0100)
committerJohannes Berg <johannes.berg@intel.com>
Mon, 25 Nov 2013 15:50:02 +0000 (16:50 +0100)
commit1fe4517cebc35ef900fa483d19c3090681f3c7bc
tree6f8de5363af76ce755097d6b975f198692960c0d
parent76a56eb3b0fe82f77b1fb604dbf4a408e6ad7ba2
cfg80211: fix ibss wext chandef creation

The wext internal chandefs for ibss should be created using the
cfg80211_chandef_create() functions. Initializing fields manually is
error-prone.

Reported-by: Dirk Gouders <dirk@gouders.net>
Signed-off-by: Simon Wunderlich <sw@simonwunderlich.de>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/wireless/ibss.c