From: Vladimir Koutny Date: Fri, 13 Jun 2008 14:50:44 +0000 (+0200) Subject: mac80211: eliminate IBSS warning in rate_lowest_index() X-Git-Tag: v2.6.27-rc1~969^2~324^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=87291c0269e77b029282676448fed3706a54211a;p=pandora-kernel.git mac80211: eliminate IBSS warning in rate_lowest_index() In IBSS mode prior to join/creation of new IBSS it is possible that a frame from unknown station is received and an ibss_add_sta() is called. This will cause a warning in rate_lowest_index() since the list of supported rates of our station is not initialized yet. The fix is to add ibss stations with a rate we received that frame at; this single-element set will be extended later based on beacon data. Also there is no need to store stations from a foreign IBSS. Signed-off-by: Vladimir Koutny Signed-off-by: John W. Linville --- Reading git-diff-tree failed