SPI on avr processors is a bit confusing. This Atmel application note might help.
http://atmel.com/dyn/resources/prod_documents/doc2585.pdf